User Tools

Site Tools


config:gsconfig

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
config:gsconfig [2012/03/29 14:04]
Carlos GSCOOKIEISSITEWIDE deprecated as of 3.1
config:gsconfig [2018/09/02 08:07]
Carlos added GSUPLOADSLC
Line 1: Line 1:
 ====== Advanced Configuration:​ gsconfig.php ====== ====== Advanced Configuration:​ gsconfig.php ======
  
-The file ''​[[http://​code.google.com/​p/​get-simple-cms/​source/​browse/​trunk/​temp.gsconfig.php|gsconfig.php]]''​ is located in the root of your GetSimple installation. You can further configure your site with the help of enabling/​changing some of these constants.+The file ''​[[http://​code.google.com/​p/​get-simple-cms/​source/​browse/​trunk/​temp.gsconfig.php|gsconfig.php]]''​ is located in the root of your GetSimple installation. You can further configure your site by enabling/​changing some of these constants.
  
-**GSLOGINSALT** allows you to futher ​secure your login password with a unique phrase to add as a salt. +**GSLOGINSALT** allows you to further ​secure your login password with a unique phrase to add as a salt. 
 <​code>#​ Extra salt to secure your password with. Default is empty for backwards compatibility. <​code>#​ Extra salt to secure your password with. Default is empty for backwards compatibility.
 #​define('​GSLOGINSALT',​ '​your_unique_phrase'​);</​code>​ #​define('​GSLOGINSALT',​ '​your_unique_phrase'​);</​code>​
  
 **GSNOCSRF** (3.1+) allows you to turn off the [[security:​csrf|CSRF protection system]] **GSNOCSRF** (3.1+) allows you to turn off the [[security:​csrf|CSRF protection system]]
-<​code>#​ Turn off CSRF protection. Not reccomended+<​code>#​ Turn off CSRF protection. Not recommended
 #​define('​GSNOCSRF',​ TRUE);</​code>​ #​define('​GSNOCSRF',​ TRUE);</​code>​
  
-**GSEXTAPI** (3.1+) adds a new option to the settings page: activate the API for plugins ​who use this new function+**GSEXTAPI** (3.1+) adds a new option to the settings page: activate the API for plugins ​that use this new function
 <​code>#​ Enable the External API to be shown on settings page  <​code>#​ Enable the External API to be shown on settings page 
 #​define('​GSEXTAPI',​ 1);</​code>​ #​define('​GSEXTAPI',​ 1);</​code>​
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)
 +
 +----
  
  
config/gsconfig.txt ยท Last modified: 2018/09/09 05:38 by Carlos