summaryrefslogtreecommitdiffstats
path: root/config.php.example
diff options
context:
space:
mode:
authorSimon Rettberg2014-08-15 14:04:00 +0200
committerSimon Rettberg2014-08-15 14:04:00 +0200
commitab99a90bf40d4163c6564d7dbe7be4c4e4d744b2 (patch)
tree75fdd9b959cdecde264737d5a8c4157d8387d7e8 /config.php.example
parentMerge branch 'master' into i18n (diff)
downloadslx-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.example8
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');