This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
playground:playground [2013/11/18 15:57] Timbow |
playground:playground [2014/02/07 10:25] datiswous [Advanced Configuration: gsconfig.php] |
||
---|---|---|---|
Line 18: | Line 18: | ||
* The screenshot for the themes comes from a file called screenshot.png within your theme's /images/ folder. There is no other way to get a screenshot of your theme attached to your Extend listing. Make sure this file is included in your ZIP file. | * The screenshot for the themes comes from a file called screenshot.png within your theme's /images/ folder. There is no other way to get a screenshot of your theme attached to your Extend listing. Make sure this file is included in your ZIP file. | ||
* We have an [[http://get-simple.info/wiki/plugins:extend_api|API]] so developers can pull data from our database on their plugins, themes or language files. | * We have an [[http://get-simple.info/wiki/plugins:extend_api|API]] so developers can pull data from our database on their plugins, themes or language files. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ====== 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 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=== | ||
+ | sets the WYSIWYG editor language (default en) | ||
+ | <code># WYSIWYG editor language (default en) | ||
+ | #define('GSEDITORLANG', 'en');</code> | ||
+ | |||
+ | ===GSEDITOROPTIONS=== | ||
+ | allows you to set additional WYSIWYG Editor Options | ||
+ | <code># WYSIWYG Editor Options | ||
+ | #define('GSEDITOROPTIONS', '');</code> | ||
+ | |||
+ | ===GSUSECUSTOMSALT=== | ||
+ | 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. | ||
+ | #define('GSUSECUSTOMSALT', 'your_new_salt_value_here');</code> | ||
+ | |||
+ | ===GSFROMEMAIL=== | ||
+ | allows you to specify the from email address on any outgoing emails that get generated by your GS install | ||
+ | <code># Set email from address | ||
+ | #define('GSFROMEMAIL', 'noreply@get-simple.info');</code> | ||
+ | |||
+ | ===setlocale=== | ||
+ | is a PHP function that you can specify here. This should allow you to set your server's locale | ||
+ | <code># Set PHP locale | ||
+ | # http://php.net/manual/en/function.setlocale.php | ||
+ | #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) | ||
+ | |||
+ | **__Obsolete Settings:__** | ||
+ | |||
+ | **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 | ||
+ | <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] | ||
+ | <code># Make login cookie available sitewide. | ||
+ | #define('GSCOOKIEISSITEWIDE', TRUE);</code> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ |