diff options
author | Simon Rettberg | 2014-08-15 14:04:00 +0200 |
---|---|---|
committer | Simon Rettberg | 2014-08-15 14:04:00 +0200 |
commit | ab99a90bf40d4163c6564d7dbe7be4c4e4d744b2 (patch) | |
tree | 75fdd9b959cdecde264737d5a8c4157d8387d7e8 /config.php.example | |
parent | Merge branch 'master' into i18n (diff) | |
download | slx-admin-ab99a90bf40d4163c6564d7dbe7be4c4e4d744b2.tar.gz slx-admin-ab99a90bf40d4163c6564d7dbe7be4c4e4d744b2.tar.xz slx-admin-ab99a90bf40d4163c6564d7dbe7be4c4e4d744b2.zip |
Updated config example with comments
Diffstat (limited to 'config.php.example')
-rw-r--r-- | config.php.example | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/config.php.example b/config.php.example index daea919b..2e0ec117 100644 --- a/config.php.example +++ b/config.php.example @@ -6,16 +6,12 @@ define('CONFIG_DEBUG', false); define('CONFIG_SESSION_DIR', '/tmp/openslx'); define('CONFIG_SESSION_TIMEOUT', 86400 * 3); -//define('CONFIG_SQL_BACKEND', 'mysql'); -//define('CONFIG_SQL_HOST', 'localhost'); +// Put your mysql credentials here define('CONFIG_SQL_DSN', 'mysql:dbname=openslx;host=localhost'); define('CONFIG_SQL_USER', 'openslx'); -// This marker %MYSQL_OPENSLX_PASS% is meant for automated patching -// via SSPS (satellite server preparation script) - do not change it -// if you plan to run this script afterwards. define('CONFIG_SQL_PASS', '%MYSQL_OPENSLX_PASS%'); +// Set this to true if you mysql server doesn't default to UTF-8 on new connections define('CONFIG_SQL_FORCE_UTF8', false); -//define('CONFIG_SQL_DB', 'openslx'); define('CONFIG_TGZ_LIST_DIR', '/opt/openslx/configs'); |