User Tools

Site Tools


playground:playground

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
playground:playground [2014/02/07 10:25]
datiswous [Advanced Configuration: gsconfig.php]
playground:playground [2014/04/19 15:54]
datiswous [setlocale]
Line 26: Line 26:
 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. 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 further secure your login password with a unique phrase to add as a salt.  
-<code php># Extra salt to secure your password with. Default is empty for backwards compatibility. 
-#​define('​GSLOGINSALT',​ '​your_unique_phrase'​);​ 
- 
-GSNOCSRF (3.1+) allows you to turn off the [[security:​csrf|CSRF protection system]] 
-# Turn off CSRF protection. Not recommended 
-#​define('​GSNOCSRF',​ TRUE); 
- 
-GSEXTAPI (3.1+) adds a new option to the settings page: activate the API for plugins that use this new function 
-# Enable the External API to be shown on settings page  
-#​define('​GSEXTAPI',​ 1); 
- 
-GSNOCDN (3.1+), when set to TRUE, defines to load Jquery-Scripts from your server and not from CDN (Content Distributed Network) 
-# Disable loading of external CDN versions of scripts (jQuery/​jQueryUI) 
-#​define("​GSNOCDN",​true);​ 
- 
-GSIMAGEWIDTH allows you to change the default width of the generated thumbnail that is created when you upload an image file 
-# Default thumbnail width of uploaded image 
-define('​GSIMAGEWIDTH',​ '​200'​);​ 
- 
-GSADMIN allows you to change the ''/​admin/''​ folder to a different name. We have taken every measure to ensure this works flawlessly, but change this at your own risk 
-# Change the administrative panel folder name 
-#​define('​GSADMIN',​ '​admin'​);​ 
- 
-GSDEBUG This allows you to turn on Debug mode. [[http://​get-simple.info/​forum/​topic/​937/​about-debug-mode/​|More information]] 
-# Turn on debug mode 
-#​define('​GSDEBUG',​ TRUE); 
- 
-GSDONOTPING enabling this disables the auto-ping of search engines when generating a sitemap 
-# Ping search engines upon sitemap generation? 
-#​define('​GSDONOTPING',​ 1); 
- 
-Affected search engines are google.com, search.yahooapis.com,​ bing.com and submissions.ask.com 
- 
-GSCHMOD is the CHMOD mode to set all your files and folders at. 
-# Set override CHMOD mode 
-#​define('​GSCHMOD',​ 0755); 
- 
-GSCANONICAL forces canonical redirects. Use with caution 
-# Enable Canonical Redirects? 
-#​define('​GSCANONICAL',​ 1); 
- 
-GSNOUPLOADIFY turns off Uploadify in the backend. You are left with a plain HTML form to upload files instead. 
-# Use Uploadify to upload files? 
-#​define('​GSNOUPLOADIFY',​ 1); 
- 
-GSEDITORHEIGHT sets the WYSIWYG content editor height 
-# WYSIWYG editor height (default 500) 
-#​define('​GSEDITORHEIGHT',​ '​400'​);​ 
- 
-GSEDITORTOOL turns on the "​Advanced"​ WYSIWYG toolbar, which gives you headings and styles 
-# WYSIWYG toolbars (advanced, basic or [custom config]) ​ 
-#​define('​GSEDITORTOOL',​ '​advanced'​);</​code>​ 
  
 ===GSEDITORLANG=== ===GSEDITORLANG===
Line 85: Line 32:
 #​define('​GSEDITORLANG',​ '​en'​);</​code>​ #​define('​GSEDITORLANG',​ '​en'​);</​code>​
  
-===GSEDITOROPTIONS===+====GSEDITOROPTIONS====
 allows you to set additional WYSIWYG Editor Options allows you to set additional WYSIWYG Editor Options
 <​code>#​ WYSIWYG Editor Options <​code>#​ WYSIWYG Editor Options
 #​define('​GSEDITOROPTIONS',​ ''​);</​code>​ #​define('​GSEDITOROPTIONS',​ ''​);</​code>​
  
-===GSUSECUSTOMSALT===+====GSUSECUSTOMSALT====
 turns off auto-generation of SALT and use a custom value. Used for cookies & upload security. turns off auto-generation of SALT and use a custom value. Used for cookies & upload security.
 <​code>#​ Turn off auto-generation of SALT and use a custom value. Used for cookies & upload security. <​code>#​ Turn off auto-generation of SALT and use a custom value. Used for cookies & upload security.
 #​define('​GSUSECUSTOMSALT',​ '​your_new_salt_value_here'​);</​code>​ #​define('​GSUSECUSTOMSALT',​ '​your_new_salt_value_here'​);</​code>​
  
-===GSFROMEMAIL===+====GSFROMEMAIL====
 allows you to specify the from email address on any outgoing emails that get generated by your GS install allows you to specify the from email address on any outgoing emails that get generated by your GS install
 <​code>#​ Set email from address <​code>#​ Set email from address
 #​define('​GSFROMEMAIL',​ '​noreply@get-simple.info'​);</​code>​ #​define('​GSFROMEMAIL',​ '​noreply@get-simple.info'​);</​code>​
  
-===setlocale===+===Tutorials,​ Tips and How-tos=== 
 +  *[[themes:​tutorial|Theme Creation Tutorial]] 
 +  *[[:​security|Extra Security for GetSimple]] 
 +  *[[how_to:​accessibility|Accessibility Features]] 
 +  *[[:​components-depending-on-the_page|Components Depending On The Page]] 
 +  *[[:​page-content-blocks-depending-on-the_page|page content blocks Depending On The Page]] 
 +  *[[:SEO for GetSimple]] 
 +  *[[:Using Extend]] 
 + 
 + 
 + 
 + 
 +====setlocale====
 is a PHP function that you can specify here. This should allow you to set your server'​s locale ​   is a PHP function that you can specify here. This should allow you to set your server'​s locale ​  
 <​code>#​ Set PHP locale <​code>#​ Set PHP locale
Line 136: Line 95:
 <​code>#​ Make login cookie available sitewide. <​code>#​ Make login cookie available sitewide.
 #​define('​GSCOOKIEISSITEWIDE',​ TRUE);</​code>​ #​define('​GSCOOKIEISSITEWIDE',​ TRUE);</​code>​
- 
  
  
playground/playground.txt · Last modified: 2014/05/09 09:24 (external edit)