/
siteconfig.php.dist
90 lines (76 loc) · 2.75 KB
/
siteconfig.php.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?php
/*
* Geeklog site configuration
*
* You should not need to edit this file. See the installation instructions
* for details.
*
*/
if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
global $_CONF;
// To disable your site quickly, simply set this flag to false
$_CONF['site_enabled'] = true;
// If you have errors on your site, can't login, or can't get to the
// config UI, then you can comment this in to set the root debug option
// on and get detailed error messages. You can set this to 'force' (which the
// Config UI won't allow you to do) to override hiding of password and cookie
// items in the debug trace.
// $_CONF['rootdebug'] = true;
/**
* Demo mode
*
* If you uncomment the line below the site will be in a demo mode. This will disable
* certain config options from being changed and from certain features being enabled.
* This includes the File Manager, Saving of Static Pages, Uploading Plugins, and
* Sending Bulk Emails. Some plugins may support this setting as well.
* For more information see: http://wiki.geeklog.net/Setting_up_a_Demo_Site
*
* @since v2.2.0
*/
// $_CONF['demo_mode'] = true;
/**
* Developer mode
*
* If you set this flag to true, detailed information will be displayed and/or logged.
* When this flag is not set or set to false, all the options below DO NOT take effect.
*
* @var boolean
* @since v2.1.2
*/
// $_CONF['developer_mode'] = true;
/**
* This overwrites error_reporting level set in lib-common.php
*
* @var int
* @see http://php.net/manual/en/function.error-reporting.php
* @since v2.2.0
*/
// $_CONF['developer_mode_php']['error_reporting'] = -1;
/**
* When these flags are set to true, detailed information will be logged respectively.
*
* @var bool
* @since v2.2.0
*/
// $_CONF['developer_mode_log']['common'] = true; // lib-common.php
// $_CONF['developer_mode_log']['database'] = true; // lib-database.php
// $_CONF['developer_mode_log']['deprecated'] = true; // deprecated features
// $_CONF['developer_mode_log']['resource'] = true; // Resource class
// $_CONF['developer_mode_log']['security'] = true; // lib-security.php
// $_CONF['developer_mode_log']['session'] = true; // lib-session.php
// $_CONF['developer_mode_log']['template'] = true; // Template class
// $_CONF['developer_mode_log']['topic'] = true; // lib-topic.php
// $_CONF['developer_mode_log']['user'] = true; // lib-user.php
$_CONF['path'] = '/path/to/Geeklog/';
$_CONF['path_system'] = $_CONF['path'] . 'system/';
$_CONF['default_charset'] = 'iso-8859-1';
$_CONF_FCK['imagelibrary'] = '/images/library';
// Useful Stuff
if (!defined('LB')) {
define('LB',"\n");
}
if (!defined('VERSION')) {
define('VERSION', '2.2.0');
}