forked from Business/BinStack
Make settings.php an array, not a bunch of defines
parent
f1a85f47fd
commit
c179ed7ebb
@ -1,47 +1,34 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
/*
|
||||||
|
* 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
|
* 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/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
*/
|
||||||
// Whether to show debugging data in output.
|
|
||||||
// DO NOT SET TO TRUE IN PRODUCTION!!!
|
$SETTINGS = [
|
||||||
define("DEBUG", false);
|
"debug" => false,
|
||||||
|
"database" => [
|
||||||
// Database connection settings
|
"type" => "mysql",
|
||||||
// See http://medoo.in/api/new for info
|
"name" => "app",
|
||||||
define("DB_TYPE", "mysql");
|
"server" => "localhost",
|
||||||
define("DB_NAME", "app");
|
"user" => "app",
|
||||||
define("DB_SERVER", "localhost");
|
"password" => "",
|
||||||
define("DB_USER", "app");
|
"charset" => "utf8"
|
||||||
define("DB_PASS", "");
|
],
|
||||||
define("DB_CHARSET", "utf8");
|
"site_title" => "Web App Template",
|
||||||
|
"accounthub" => [
|
||||||
// Name of the app.
|
"api" => "http://localhost/accounthub/api/",
|
||||||
define("SITE_TITLE", "Web App Template");
|
"home" => "http://localhost/accounthub/home.php",
|
||||||
|
"key" => "123"
|
||||||
|
],
|
||||||
// URL of the AccountHub API endpoint
|
"timezone" => "America/Denver",
|
||||||
define("PORTAL_API", "http://localhost/accounthub/api/");
|
"captcha" => [
|
||||||
// URL of the AccountHub home page
|
"enabled" => false,
|
||||||
define("PORTAL_URL", "http://localhost/accounthub/home.php");
|
"server" => "https://captcheck.netsyms.com"
|
||||||
// AccountHub API Key
|
],
|
||||||
define("PORTAL_KEY", "123");
|
"language" => "en",
|
||||||
|
"footer_text" => "",
|
||||||
// For supported values, see http://php.net/manual/en/timezones.php
|
"copyright" => "Netsyms Technologies",
|
||||||
define("TIMEZONE", "America/Denver");
|
"url" => "."
|
||||||
|
];
|
||||||
// Base URL for site links.
|
|
||||||
define('URL', '.');
|
|
||||||
|
|
||||||
// Use Captcheck on login screen
|
|
||||||
// https://captcheck.netsyms.com
|
|
||||||
define("CAPTCHA_ENABLED", FALSE);
|
|
||||||
define('CAPTCHA_SERVER', 'https://captcheck.netsyms.com');
|
|
||||||
|
|
||||||
// See lang folder for language options
|
|
||||||
define('LANGUAGE', "en_us");
|
|
||||||
|
|
||||||
|
|
||||||
define("FOOTER_TEXT", "");
|
|
||||||
define("COPYRIGHT_NAME", "Netsyms Technologies");
|
|
Loading…
Reference in New Issue