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
config:gsconfig [2012/03/09 12:06]
Connie
config:gsconfig [2018/09/09 05:38] (current)
Carlos fix GSUPLOADSLC version and description
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 that use this new function
 +<​code>#​ Enable the External API to be shown on settings page 
 +#​define('​GSEXTAPI',​ 1);</​code>​
 +
 +**GSNOCDN** (3.1+), when set to TRUE, defines to load Jquery-Scripts from your server and not from CDN (Content Distributed Network)
 +<​code>#​ Disable loading of external CDN versions of scripts (jQuery/​jQueryUI)
 +#​define("​GSNOCDN",​true);</​code>​
  
 **GSIMAGEWIDTH** allows you to change the default width of the generated thumbnail that is created when you upload an image file **GSIMAGEWIDTH** allows you to change the default width of the generated thumbnail that is created when you upload an image file
Line 22: Line 30:
 <​code>#​ Turn on debug mode <​code>#​ Turn on debug mode
 #​define('​GSDEBUG',​ TRUE);</​code>​ #​define('​GSDEBUG',​ TRUE);</​code>​
- 
-**GSCOOKIEISSITEWIDE** if set to TRUE, it allows the frontend of your site to know if you are logged in or not 
-<​code>#​ Make login cookie available sitewide. 
-#​define('​GSCOOKIEISSITEWIDE',​ TRUE);</​code>​ 
  
 **GSDONOTPING** enabling this disables the auto-ping of search engines when generating a sitemap **GSDONOTPING** enabling this disables the auto-ping of search engines when generating a sitemap
Line 37: 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 73: 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.10) if set to ''​false'',​ names of uploaded files will not be converted to lowercase
 +
 +----
 +
  
 **__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 usedthere are no other storage structures 
 + 
 +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]
  
-**GSSTORAGE** was never used, there are no other storage structures 
-<​code>#​ Data saving method. Default is XML 
-#​define('​GSSTORAGE',​ '​xml'​);</​code>​ 
config/gsconfig.1331294779.txt.gz · Last modified: 2013/04/19 14:55 (external edit)