Source for file _config.php
Documentation is available at _config.php
* This is Quam Plures' main config file, which just includes all the other
* This file should not be edited. You should edit the sub files instead.
* See {@link _main_config.php} for the basic settings.
* This makes sure the config does not get loaded twice in Windows
* (when the /conf file is in a path containing uppercase letters as in /Blog/conf).
define( 'QP_CONFIG_LOADED', true );
{ // Use configured base config:
require_once dirname(__FILE__ ). '/_main_config.php';
{ // Use default template:
require_once dirname(__FILE__ ). '/_main_config.template.php';
// DEPRECATED -- You can now have a _main_config.php file that will not be overwritten by new releases
{ // Put testing conf in there (For testing, you can also set $install_password here):
include_once dirname(__FILE__ ). '/_config_TEST.php'; // FOR TESTING / DEVELOPMENT OVERRIDES
require_once dirname(__FILE__ ). '/_advanced.php'; // advanced settings
require_once $conf_path. '_locales.php'; // locale settings
require_once $conf_path. '_formatting.php'; // formatting settings
require_once $conf_path. '_admin.php'; // admin settings
require_once $conf_path. '_stats.php'; // stats/hitlogging settings
require_once $inc_path. '_application.php'; // application settings
{ // Override for testing in there:
include_once $conf_path. '_overrides_TEST.php'; // FOR TESTING / DEVELOPMENT OVERRIDES
foreach( $modules as $module )
require_once $inc_path. $module. '/_'. $module. '.init.php';
|