Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
User-specific gsconfig settings
#9
Of course. Please ignore the comments Wink

PHP Code:
<?php
/**
 * GSConfig
 *
 * The base configurations for GetSimple    
 *
 * @package GetSimple
 */

/** Prevent direct access */
if (basename($_SERVER['PHP_SELF']) == 'gsconfig.php') { 
    die(
'You cannot load this page directly.');
}; 

/*****************************************************************************/
/** Below are constants that you can use to customize how GetSimple operates */ 

# Extra salt to secure your password with. Default is empty for backwards compatibility.
#define('GSLOGINSALT', 'your_unique_phrase');

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

# Default thumbnail width of uploaded image
define('GSIMAGEWIDTH''200');

# Change the administrative panel folder name
#define('GSADMIN', 'admin');

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

# Ping search engines upon sitemap generation?
define('GSDONOTPING'1);

# Turn off CSRF protection. Uncomment this if you keep receiving the error message "CSRF error detected..."
#define('GSNOCSRF', TRUE);

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

# Enable Canonical Redirects?
#define('GSCANONICAL', 1);

# Use Uploadify to upload files?
#define('GSNOUPLOADIFY', 1);

# WYSIWYG editor height (default 500)
#define('GSEDITORHEIGHT', '400');

# WYSIWYG toolbars (advanced, basic or [custom config]) 
define('GSEDITORTOOL''editor1');

#Oben festgelegt, dass alle User 'editor1' bekommmen, das ist der stark beschränkte Editor (festgelegt in config.js)
#Hier werden dann User definiert, für die eine Ausnahme gemacht wird, die also einen anderen Editor bekommen.
define('GSEDITORTOOL_sporrer''advanced');

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

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

# Set email from address
#define('GSFROMEMAIL', 'noreply@get-simple.info');

# Autosave within edit.php. Value is the autosave interval in seconds
#define('GSAUTOSAVE', 900);

# Enable the External API to be shown on settings page 
#define('GSEXTAPI', 1);
    
# Set PHP locale
# http://php.net/manual/en/function.setlocale.php
#setlocale(LC_ALL, 'en_US');

# Define default timezone of server, accepts php timezone string
# valid timeszones can be found here http://www.php.net/manual/en/timezones.php
# define('GSTIMEZONE', 'America/Chicago');

# Disable loading of external CDN versions of scripts (jQuery/jQueryUI)
#define("GSNOCDN",true);

# Disable Codemirror theme editor
#define("GSNOHIGHLIGHT",true);

# Forces suppression of php errors when GSDEBUG is false, despite php ini settings
define('GSSUPPRESSERRORS',true);

# Disable check for Apache web server, default false
#define('GSNOAPACHECHECK', true);

# Disable header version check
#define('GSNOVERCHECK', true);

# Enable alternate admin styles, current style constants are
# GSSTYLE can be a comma delimied list of flags
# note: stylesheets are cached, flush cache after changing
#
# style flags:
# GSSTYLEWIDE = wide fluid
# GSSTYLE_SBFIXED = fixed sidemenu

# eg. 
# define('GSSTYLE',GSSTYLE_SBFIXED);
# define('GSSTYLE',GSSTYLEWIDE);
#define('GSSTYLE',implode(',',array(GSSTYLEWIDE,GSSTYLE_SBFIXED)));

# Disable Sitemap generation and menu items
# define('GSNOSITEMAP',true);

# Enable auto meta descriptions from content excerpts when empty
# define('GSAUTOMETAD',true);

# Set default language for missing lang token merge, 
# accepts a lang string, default is 'en_US', false to disable
# define('GSMERGELANG',false);

# GS prevents backend pages from being loaded in a frame
# by sending an x-frame header by default to prevent clickjacking attempts
# setting GSNOFRAME to false will disable this
# define('GSNOFRAME',false);

?>
Reply


Messages In This Thread
User-specific gsconfig settings - by Carlos - 2013-05-01, 16:49:55
RE: User-specific gsconfig settings - by Carlos - 2014-08-14, 02:21:39
RE: User-specific gsconfig settings - by Carlos - 2014-08-16, 05:23:07
RE: User-specific gsconfig settings - by Carlos - 2014-08-23, 01:17:29
RE: User-specific gsconfig settings - by shawn_a - 2014-08-23, 08:44:48
RE: User-specific gsconfig settings - by Carlos - 2014-08-23, 17:45:14
RE: User-specific gsconfig settings - by stwneu - 2015-04-28, 22:53:29
RE: User-specific gsconfig settings - by Carlos - 2015-04-29, 06:28:18
RE: User-specific gsconfig settings - by stwneu - 2015-04-29, 23:16:34
RE: User-specific gsconfig settings - by Carlos - 2015-04-30, 00:29:00



Users browsing this thread: 1 Guest(s)