This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
config:gsconfig [2013/04/19 15:04] 127.0.0.1 external edit |
config:gsconfig [2018/09/02 08:11] Carlos remove examples, obsolete settings |
||
---|---|---|---|
Line 41: | Line 41: | ||
#define('GSCHMOD', 0755);</code> | #define('GSCHMOD', 0755);</code> | ||
- | **GSCANONICAL** forces canonical redirects. Use with caution | + | **GSCANONICAL** forces canonical redirects. Use with caution - not compatible with some plugins |
<code># Enable Canonical Redirects? | <code># Enable Canonical Redirects? | ||
#define('GSCANONICAL', 1);</code> | #define('GSCANONICAL', 1);</code> | ||
Line 77: | Line 77: | ||
# http://php.net/manual/en/function.setlocale.php | # http://php.net/manual/en/function.setlocale.php | ||
#setlocale(LC_ALL, 'en_US');</code> | #setlocale(LC_ALL, 'en_US');</code> | ||
+ | |||
+ | |||
+ | **__Since 3.2:__** | ||
+ | |||
+ | **GSNOVERCHECK** - Disable persistant header version checking | ||
+ | |||
+ | **GSTIMEZONE** - Timezone string for server default timezone | ||
+ | |||
+ | **GSNOSITEMAP** - Disable sitemap generation | ||
+ | |||
+ | **GSSTYLE** - Set an alternative style, eg. GSSTYLEWIDE | ||
+ | |||
+ | **GSDEBUGINSTALL** - Debugging, Prevent removal of install files for debugging installs | ||
+ | |||
+ | **GSSUPPRESSERRORS** - reproduce previous GS behavior ragarding php error supression | ||
+ | |||
+ | **GSAUTOMETAD** - (since 3.2.2) Enable automatically generated excerpt for meta description (if empty) | ||
+ | |||
+ | **__Since 3.3:__** | ||
+ | |||
+ | **GSFORMATXML** - (since 3.3.7) If true, indent and format xml files on save to make them human-readable | ||
+ | |||
+ | **GSNOPLUGINCHECK** - (since 3.3.7) Disable plugin API checks if you have issues (e.g. sites with a lot of plugins) | ||
+ | |||
+ | **GSCKETSTAMP** - (since 3.3.10) define CKEditor timestamp query string cache control: ''true'' (default) uses GS version, ''false'' none, or custom string | ||
+ | |||
+ | **GSUPLOADSLC** - (since 3.3.14) if set to ''false'', extensions of uploaded files will not be converted to lowercase (e.g. .jpg instead of .JPG) | ||
+ | |||
+ | ---- | ||
**__Obsolete Settings:__** | **__Obsolete Settings:__** | ||
- | **GSPAGER** turns on paging on certain pages such as "All Pages" | + | GSPAGER - turns on paging on certain pages such as "All Pages" |
- | <code># Turn on paging for long lists of pages | + | |
- | #define('GSPAGER', TRUE);</code> | + | |
- | **GSSTORAGE** was never used, there are no other storage structures | + | GSSTORAGE - was never used, there are no other storage structures |
- | <code># Data saving method. Default is XML | + | |
- | #define('GSSTORAGE', 'xml');</code> | + | |
- | **GSCOOKIEISSITEWIDE** if set to TRUE, it allows the frontend of your site to know if you are logged in or not. [deprecated as of 3.1] | + | GSCOOKIEISSITEWIDE - if set to TRUE, it allows the frontend of your site to know if you are logged in or not. [deprecated as of 3.1] |
- | <code># Make login cookie available sitewide. | + | |
- | #define('GSCOOKIEISSITEWIDE', TRUE);</code> | + | |