2017-04-24 17:13:08 -06:00
|
|
|
<?php
|
|
|
|
|
2018-04-09 19:18:19 -06:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
2017-04-24 17:13:08 -06:00
|
|
|
// Whether to show debugging data in output.
|
|
|
|
// DO NOT SET TO TRUE IN PRODUCTION!!!
|
|
|
|
define("DEBUG", false);
|
|
|
|
|
|
|
|
// Database connection settings
|
|
|
|
// See http://medoo.in/api/new for info
|
|
|
|
define("DB_TYPE", "mysql");
|
2018-04-21 14:29:52 -06:00
|
|
|
define("DB_NAME", "sitewriter");
|
2017-04-24 17:13:08 -06:00
|
|
|
define("DB_SERVER", "localhost");
|
2018-04-21 14:29:52 -06:00
|
|
|
define("DB_USER", "sitewriter");
|
2017-04-24 17:13:08 -06:00
|
|
|
define("DB_PASS", "");
|
|
|
|
define("DB_CHARSET", "utf8");
|
|
|
|
|
2017-05-13 22:29:22 -06:00
|
|
|
// Name of the app.
|
2018-04-21 14:29:52 -06:00
|
|
|
define("SITE_TITLE", "SiteWriter");
|
2017-04-24 17:13:08 -06:00
|
|
|
|
2018-04-15 19:28:34 -06:00
|
|
|
|
|
|
|
// URL of the AccountHub API endpoint
|
2017-07-21 00:59:09 -06:00
|
|
|
define("PORTAL_API", "http://localhost/accounthub/api.php");
|
2018-04-15 19:28:34 -06:00
|
|
|
// URL of the AccountHub home page
|
2017-07-21 00:59:09 -06:00
|
|
|
define("PORTAL_URL", "http://localhost/accounthub/home.php");
|
2018-04-15 19:28:34 -06:00
|
|
|
// AccountHub API Key
|
2017-04-25 18:22:27 -06:00
|
|
|
define("PORTAL_KEY", "123");
|
|
|
|
|
2017-04-24 17:13:08 -06:00
|
|
|
// For supported values, see http://php.net/manual/en/timezones.php
|
|
|
|
define("TIMEZONE", "America/Denver");
|
|
|
|
|
|
|
|
// Base URL for site links.
|
2018-04-21 17:35:58 -06:00
|
|
|
define('URL', '/sitewriter');
|
|
|
|
|
|
|
|
// Folder for public files
|
2018-05-05 19:49:18 -06:00
|
|
|
// This should not be inside the web root for security reasons.
|
2018-04-21 17:35:58 -06:00
|
|
|
define('FILE_UPLOAD_PATH', __DIR__ . '/public/files');
|
2017-04-24 17:13:08 -06:00
|
|
|
|
2018-05-04 23:47:46 -06:00
|
|
|
// Use pretty URLs (requires correct web server configuration)
|
|
|
|
define('PRETTY_URLS', false);
|
|
|
|
|
2018-05-01 13:33:30 -06:00
|
|
|
// Location of MaxMind GeoIP database
|
|
|
|
//
|
|
|
|
// I'll just leave this here:
|
|
|
|
// This product includes GeoLite2 data created by MaxMind, available from
|
|
|
|
// http://www.maxmind.com
|
|
|
|
define('GEOIP_DB', __DIR__ . "/GeoLite2-City.mmdb");
|
|
|
|
|
2018-04-15 19:28:34 -06:00
|
|
|
// Use Captcheck on login screen
|
|
|
|
// https://captcheck.netsyms.com
|
|
|
|
define("CAPTCHA_ENABLED", FALSE);
|
|
|
|
define('CAPTCHA_SERVER', 'https://captcheck.netsyms.com');
|
2017-05-02 19:17:59 -06:00
|
|
|
|
2017-04-24 17:13:08 -06:00
|
|
|
// See lang folder for language options
|
|
|
|
define('LANGUAGE', "en_us");
|
|
|
|
|
2017-12-16 13:48:24 -07:00
|
|
|
|
2018-04-09 19:18:19 -06:00
|
|
|
define("FOOTER_TEXT", "");
|
2018-05-01 13:33:30 -06:00
|
|
|
define("COPYRIGHT_NAME", "Netsyms Technologies");
|