summaryrefslogtreecommitdiffstats
path: root/config.php.example
diff options
context:
space:
mode:
authorSimon Rettberg2014-08-15 14:01:09 +0200
committerSimon Rettberg2014-08-15 14:01:09 +0200
commit48b563ec0e47e426f326eac85f759fdbcb19c2e1 (patch)
tree35e5f84e5de91b8ebe2c701f70f47922853c953f /config.php.example
parentFix lang-tag in sysconfig template (diff)
parentIgnore config.php (diff)
downloadslx-admin-48b563ec0e47e426f326eac85f759fdbcb19c2e1.tar.gz
slx-admin-48b563ec0e47e426f326eac85f759fdbcb19c2e1.tar.xz
slx-admin-48b563ec0e47e426f326eac85f759fdbcb19c2e1.zip
Merge branch 'master' into i18n
Diffstat (limited to 'config.php.example')
-rw-r--r--config.php.example29
1 files changed, 29 insertions, 0 deletions
diff --git a/config.php.example b/config.php.example
new file mode 100644
index 00000000..daea919b
--- /dev/null
+++ b/config.php.example
@@ -0,0 +1,29 @@
+<?php
+
+// This might leak sensitive information. Never enable in production!
+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');
+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%');
+define('CONFIG_SQL_FORCE_UTF8', false);
+//define('CONFIG_SQL_DB', 'openslx');
+
+define('CONFIG_TGZ_LIST_DIR', '/opt/openslx/configs');
+
+define('CONFIG_REMOTE_ML', 'http://mltk.boot.openslx.org/update/new');
+
+define('CONFIG_TFTP_DIR', '/srv/openslx/tftp');
+define('CONFIG_HTTP_DIR', '/srv/openslx/www/boot');
+
+define('CONFIG_IPXE_DIR', '/opt/openslx/ipxe');
+
+define('CONFIG_VMSTORE_DIR', '/srv/openslx/nfs');