glFusion v1.1.3 siteconfig.php Additions / Changes

glFusion v1.1.3 made several changes to the siteconfig.php file. The easiest method to upgrade your existing siteconfig.php may be to copy the following section from your old siteconfig.php to a fresh copy of the siteconfig.php.dist file, then rename the siteconfig.php.dist to siteconfig.php. This section contains the actual path to your private/ files and should be copied from your old siteconfig.php, not from this wiki page.

Section to move from old siteconfig.php to new siteconfig.php

// +--------------------------------------------------------------------------+
// | You should not need to change any settings below this line,              |
// | these settings are created during the site installation.                 |
// +--------------------------------------------------------------------------+

$_CONF['path'] = '/path/to/glfusion/';
$_CONF['path_system'] = $_CONF['path'] . 'system/';

$_CONF['default_charset'] = 'iso-8859-1';

$_CONF_FCK['imagelibrary'] = '/images/library';

The following is a list of the new items that were added in glFusion v1.1.3:

global $_CONF, $_SYSTEM;
$_CONF = array();
$_SYSTEM = array();

// +--------------------------------------------------------------------------+
// | Enables 'per user' libraries for images for the Advanced Editor          |
// +--------------------------------------------------------------------------+
$_CONF_FCK['editor_images_by_user'] = false;


// ** System Maintenance and debugging options **

// +--------------------------------------------------------------------------+
// | Site Enabled - if set to true, the site will accept users                |
// |                if set to false, users will be shown a site down msg.     |
// +--------------------------------------------------------------------------+

$_SYSTEM['site_enabled'] = true;


// +--------------------------------------------------------------------------+
// | Maintenance Mode - Allows a site admin to disable the site               |
// |                    for non-admin (and anonymous) users.                  |
// |                                                                          |
// | This mode is useful if you have some maintenance work to do like         |
// | installing a new plugin or reorganizing content, etc.                    |
// |                                                                          |
// | You _MUST_ login to your site as an admin user _BEFORE_ enabling         |
// | this option since it will disable all non-admin users.                   |
// +--------------------------------------------------------------------------+

$_SYSTEM['maintenance_mode'] = false;


// +--------------------------------------------------------------------------+
// | Root debug - Display detailed error messages.                            |
// |                                                                          |
// | NOTE: This option should not be enabled on production sites since it     |
// |       will display configuration options and other details that could    |
// |       expose confidential data such as database logins, etc.             |
// +--------------------------------------------------------------------------+

$_SYSTEM['rootdebug']        = false;


// +--------------------------------------------------------------------------+
// | No Fail SQL - Do not fail (crash) if SQL errors are encountered          |
// |                                                                          |
// | Use this option if your site becomes unavailable because of the          |
// | dreaded 'An SQL error has occurred' message.  This will disable          |
// | the error temporarily to allow you to debug or resolve the issue.        |
// +--------------------------------------------------------------------------+

$_SYSTEM['no_fail_sql']      = false;

// +--------------------------------------------------------------------------+
// | No Cache Config - disable configuration caching                          |
// |                                                                          |
// | If you experience issues with the caching the configuration options.     |
// | you can disable the caching feature by setting this to true.             |
// +--------------------------------------------------------------------------+

$_SYSTEM['no_cache_config']  = false;

// +--------------------------------------------------------------------------+
// | Swedish Date Hack - enable special hack to return UTF-8 Swedish          |
// |                     date / time                                          |
// |                                                                          |
// | If your site language is Swedish and your site is configured for         |
// | UTF-8 character set, enable this option to return the correct date/time  |
// +--------------------------------------------------------------------------+

$_SYSTEM['swedish_date_hack'] = false;

// +--------------------------------------------------------------------------+
// | You should not need to change any settings below this line,              |
// | these settings are created during the site installation.                 |
// +--------------------------------------------------------------------------+
glfusion/upgrade/glfusion113.txt · Last modified: 2010/02/02 02:12 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: GNU Free Documentation License 1.3