User Tools

Site Tools


This is an old revision of the document!

Advanced Configuration: gsconfig.php

The file 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.

GSLOGINSALT allows you to futher secure your login password with a unique phrase to add as a salt.

# 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 CSRF protection system

# Turn off CSRF protection. Not reccomended
#define('GSNOCSRF', 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. More information

# Turn on debug mode
#define('GSDEBUG', TRUE);

GSCOOKIEISSITEWIDE if set to TRUE, it allows the frontend of your site to know if you are logged in or not

# Make login cookie available sitewide.

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,, and

GSCHMOD is the CHMOD mode to set all your files and folders at. Default is 0755

# Set override CHMOD mode
#define('GSCHMOD', 0777);

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');

GSEDITORLANG sets the WYSIWYG editor language (default en)

# WYSIWYG editor language (default en)
#define('GSEDITORLANG', 'en');

GSEDITOROPTIONS allows you to set additional WYSIWYG Editor Options

# WYSIWYG Editor Options
#define('GSEDITOROPTIONS', '');

GSUSECUSTOMSALT turns off auto-generation of SALT and use a custom value. Used for cookies & upload security.

# Turn off auto-generation of SALT and use a custom value. Used for cookies & upload security.
#define('GSUSECUSTOMSALT', 'your_new_salt_value_here');

GSFROMEMAIL allows you to specify the from email address on any outgoing emails that get generated by your GS install

# Set email from address
#define('GSFROMEMAIL', '');

setlocale is a PHP function that you can specify here. This should allow you to set your server's locale

# Set PHP locale
#setlocale(LC_ALL, 'en_US');

Obsolete Settings:

GSPAGER turns on paging on certain pages such as “All Pages”

# Turn on paging for long lists of pages
#define('GSPAGER', TRUE);
# Data saving method. Default is XML
#define('GSSTORAGE', 'xml');
config/gsconfig.1331294656.txt.gz · Last modified: 2013/04/19 14:55 (external edit)