forked from Typesetter/Typesetter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gpconfig.php
executable file
·156 lines (119 loc) · 4.08 KB
/
gpconfig.php
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<?php
/**
* $upload_extensions_allow and $upload_extensions_deny
* Allow or deny the upload of files based on their file extensions
* The default list of available extenstions is array('7z', 'aiff', 'asf', 'avi', 'bmp', 'bz', 'csv', 'doc', 'fla', 'flv', 'gif', 'gz', 'gzip', 'jpeg', 'jpg', 'mid', 'mov', 'mp3', 'mp4', 'mpc', 'mpeg', 'mpg', 'ods', 'odt', 'pdf', 'png', 'ppt', 'pxd', 'qt', 'ram', 'rar', 'rm', 'rmi', 'rmvb', 'rtf', 'sdc', 'sitd', 'swf', 'sxc', 'sxw', 'tar', 'tgz', 'tif', 'tiff', 'txt', 'vsd', 'wav', 'wma', 'wmv', 'xls', 'xml', 'zip');
* Note: gp_restrict_uploads has to be set to true for upload_extension settings to have any effect
*/
define('gp_restrict_uploads',true);
$upload_extensions_allow = array();
$upload_extensions_deny = array();
/**
* gp_default_theme
* Theme/color to be used when gpEasy is first installed.
* Also the theme/color that gpEasy will use should the user specified theme become unavailable
*
*/
define('gp_default_theme','Three_point_5/Shore');
/**
* gp_browser_auth
* Set to true to enable additional security by requiring a static browser identity for user session. Disabled by default since gpEasy 2.3.2
* Enabling this feature may require administrators to log back in. If administrators report they are being logged out, then you may need to disable this feature
* Defaults to false
*/
define('gp_browser_auth',false);
/**
* gp_require_encrypt
* Set to true to require admin area encrypted login.
* This will only disable un-encrypted login and not hide the option on the login page. When true, attempts to login without encryption will fail
* Defaults to false
*/
define('gp_require_encrypt',false);
/**
* gp_nonce_algo
* Which hash algorithm to use for nonces
*
*/
define('gp_nonce_algo','sha512');
/**
* gp_index_filenames
* Set to false to use filenames that reflect the titles of pages instead using the data index
* Setting to false may result in the loss of functionality including the inability to use hierarchical file names
* Defaults to true
*/
define('gp_index_filenames',true);
/**
* gp_remote_plugins, gp_remote_themes, gp_remote_update
* Disable installation of remote addons
* Defaults to true
*/
define('gp_remote_plugins',true);
define('gp_remote_themes',true);
define('gp_remote_update',true);
/**
* gp_unique_addons
* Displays only the latest version of an addon (plugin or theme) if true
* Defaults to false
*/
define('gp_unique_addons',false);
/**
* Using setlocale() may enable more language specific ouptput for dates, times etc
* http://php.net/manual/en/function.setlocale.php
* Defaults to en_US
*/
//setlocale(LC_ALL, 'en_US');
/**
* service_provider_id
* For gpEasy.com/Special_Services
* Add your service provider id for tracking and to increase service provider activity level
* Defaults to false
*/
define('service_provider_id',false);
/**
* Limit the number of revisions to store in the backup
*
*/
define('gp_backup_limit',30);
/**
* gp_chmod_file
* The mode used by chmod() for data files
* http://php.net/manual/en/function.chmod.php
* Defaults to 0666
*/
define('gp_chmod_file',0666);
/**
* gp_chmod_dir
* The mode use by chmod for data folders
* http://php.net/manual/en/function.chmod.php
* Defaults to 0755
*/
define('gp_chmod_dir',0755);
/**
* gpdebug
* Set to true to display php errors in the browser window.
* Defaults to false
*/
define('gpdebug',false);
/**
* gpdebugjs
* Set to true to display javascript errors in the browser window. Separate from gpdebug to allow specific debugging
* Defaults to the value set for gpdebug
*/
//define('gpdebugjs',false);
/**
* Prevent errors from being displayed to site visitors
* Should be set to "0" for any production site
* Set to "1" if gpEasy is unable to display errors with gpdebug set to "true" (see above)
*
*/
@ini_set('display_errors',0);
/**
* gp_safe_mode
* Set to true to turn safe mode on. This will prevent addons from being used.
* Defaults to the value set for gpdebug
*/
//define('gp_safe_mode',false);
/**
* Include clearfloats in gpeasy generated code
* define('clear_floats',false); experimental
*/