summaryrefslogtreecommitdiffstats
path: root/config.php.example
diff options
context:
space:
mode:
authorChristian Rößler2014-07-25 15:34:33 +0200
committerChristian Rößler2014-07-25 15:34:33 +0200
commit34bc39c29b1e1051fab25eef1be6931d55424452 (patch)
treeb33495dc00adc768d5effbfb0a59510210b9c100 /config.php.example
parent[news] minor doxygen comment fix (diff)
downloadslx-admin-34bc39c29b1e1051fab25eef1be6931d55424452.tar.gz
slx-admin-34bc39c29b1e1051fab25eef1be6931d55424452.tar.xz
slx-admin-34bc39c29b1e1051fab25eef1be6931d55424452.zip
[slx-admin] config.php renamed to config.php.example, set marker for SSPS
Diffstat (limited to 'config.php.example')
-rw-r--r--config.php.example26
1 files changed, 26 insertions, 0 deletions
diff --git a/config.php.example b/config.php.example
new file mode 100644
index 00000000..179e1a16
--- /dev/null
+++ b/config.php.example
@@ -0,0 +1,26 @@
+<?php
+
+// This might leak sensitive information. Never enable in production!
+define('CONFIG_DEBUG', true);
+
+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');
+define('CONFIG_SQL_PASS', 'geheim');
+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');