forked from GetSimpleCMS/GetSimpleCMS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
temp.gsconfig.php
140 lines (106 loc) · 5.17 KB
/
temp.gsconfig.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
<?php
/**
* GSConfig
*
* The base configurations for GetSimple
*
* @package GetSimple
*/
/** Prevent direct access */
if (basename($_SERVER['SCRIPT_NAME']) === basename(__FILE__)) {
die('You cannot load this page directly.');
};
/*****************************************************************************/
/** Below are constants that you can use to customize how GetSimple operates */
// Extra salt to secure your password with. Default is empty for backwards compatibility.
#define('GSLOGINSALT', 'your_unique_phrase');
// Turn off auto-generation of SALT and use a custom value. Used for cookies & upload security.
#define('GSUSECUSTOMSALT', 'your_new_salt_value_here');
// Default thumbnail width of uploaded image
# define('GSIMAGEWIDTH', '200');
// Change the administrative panel folder name
#define('GSADMIN', 'admin');
// Turn on debug mode
#define('GSDEBUG', true);
// Turn on safe mode
#define('GSSAFEMODE', true);
// Use root relative urls for site url in assets links and ckeditor saved links
#define('GSSITEURLREL',true);
// Use root relative urls for assets
# define('GSASSETURLREL',true);
// Turn off CSRF protection. Uncomment this if you keep receiving the error message "CSRF error detected..."
#define('GSNOCSRF', true);
// Set override CHMOD mode
#define('GSCHMODFILE', 0644);
#define('GSCHMODDIR', 0755);
// Disable chmod operations
# define('GSDOCHMOD',false);
// WYSIWYG editor height (default 500)
#define('GSEDITORHEIGHT', '400');
// WYSIWYG toolbars (advanced, basic or [custom config])
#define('GSEDITORTOOL', 'advanced');
// WYSIWYG editor language (default en)
#define('GSEDITORLANG', 'en');
// WYSIWYG Editor Options
//eg. define('GSEDITOROPTIONS',"skin: 'moonocolor',enterMode: CKEDITOR.ENTER_BR,shiftEnterMode : CKEDITOR.ENTER_P");
# define('GSEDITOROPTIONS',"");
// Set email from address
#define('GSFROMEMAIL', 'noreply@get-simple.info');
// Set PHP locale
# http://php.net/manual/en/function.setlocale.php
#setlocale(LC_ALL, 'en_US');
// Define default timezone of server, accepts php timezone string
// valid timeszones can be found here http://www.php.net/manual/en/timezones.php
# define('GSTIMEZONE', 'America/Chicago');
// Forces suppression of php errors when GSDEBUG is false, despite php ini settings
# define('GSSUPPRESSERRORS',true);
// Disable check for Apache web server, default false
#define('GSNOAPACHECHECK', true);
// Disable header version check
#define('GSNOVERCHECK', true);
// Disable Sitemap generation and menu items
# define('GSNOSITEMAP',true);
// Enable auto meta descriptions from content excerpts when empty
# define('GSAUTOMETAD',true);
// Set default language for missing lang token merge,
// accepts a lang string, default is 'en_US', false to disable
# define('GSMERGELANG',false);
/**
* GS can prevent backend or frontend pages from being loaded inside a frame
* this is done by sending an x-frame-options header, and helps protect against clickjacking attacks
* This is enabled by default for backend pages (true/GSBACK)
* setting GSNOFRAME to (false) will disable this behavior
* You can also customize this by passing the gs location definitions,
* GSFRONT, GSBACK or GSBOTH definitions enable this for front and/or backends
* define('GSNOFRAME',GSBOTH); # prevent in frames ALWAYS
*/
# define('GSNOFRAME',false); # prevent in frames NEVER
// GS can format its xml files before saving them if you require human readable source for them
# define('GSFORMATXML',true);
// enable page drafts
# define('GSUSEDRAFTS',true);
// disable page stack when using drafts
# define('GSUSEPAGESTACK',false);
// enable editing theme root files in theme editor
# define('GSTHEMEEDITROOT',true);
// custom nav tabs list (str) csv list of page ids and their order( tabs missing will still be accessible in the footer )
#define('GSTABS','pages,upload,theme,theme-edit,snippets,components,backups,plugins,log,health-check')
/**
* DO NOT EDIT BELOW THIS LINE
*
* definitions for GS 3.3 legacy appearance, disables stuff added in 3.4 ( mostly )
* reference only do not uncomment this
'GSTABICONS' => false, // (bool) show icons on nav tabs
'GSTABS' => 'pages,upload,theme,backups,plugins', // (str) csv list of page ids and order to show tabs
'GSWIDEPAGES' => '', // (str-csv) pages to apply GSWIDTHWIDE on
'GSSTYLE' => '', // (str-csv) default style modifiers
'GSAJAXSAVE' => false, // (bool) use ajax for saving themes, components, and pages
'GSPAGETABS' => false, // (bool) use tabbed interface for page edit ( no page options toggle when off )
'GSUSEDRAFTS' => false, // (bool) use page drafts
'GSTHUMBSSHOW' => false, // (bool) always show thumbnails
'GSSNIPPETSATTRIB' => '', // (str) callback funcname for htmleditors used to init htmleditor
'GSCOMPONENTSATTRIB' => '', // (str) callback funcname for codeeditors used to init codeeditor
'GSHEADERCLASS' => 'gradient', // (str) custom class to add to header eg. `gradient` to add 3.3 gradients back
'GSEDITOROPTIONS' => "skin: 'moonocolor'" // moonocolor skin has not been updated in a long time
*/
?>