summaryrefslogtreecommitdiffstats
path: root/config.php.example
diff options
context:
space:
mode:
Diffstat (limited to 'config.php.example')
-rw-r--r--config.php.example12
1 files changed, 7 insertions, 5 deletions
diff --git a/config.php.example b/config.php.example
index cb54a05d..6b291cd1 100644
--- a/config.php.example
+++ b/config.php.example
@@ -7,11 +7,11 @@ define('CONFIG_SESSION_DIR', '/tmp/openslx');
define('CONFIG_SESSION_TIMEOUT', 86400 * 3);
// Put your mysql credentials here
-define('CONFIG_SQL_DSN', 'mysql:dbname=openslx;host=localhost');
+define('CONFIG_SQL_DSN', 'mysql:dbname=openslx;host=localhost;charset=utf8mb4');
define('CONFIG_SQL_USER', 'openslx');
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', true);
+
+define('CONFIG_TM_PASSWORD', '%TM_OPENSLX_PASS%');
define('CONFIG_TGZ_LIST_DIR', '/opt/openslx/configs');
@@ -33,6 +33,8 @@ define('CONFIG_BIOS_URL', 'https://bwlp-masterserver.ruf.uni-freiburg.de/bios/li
define('CONFIG_PRODUCT_NAME', 'OpenSLX');
define('CONFIG_PRODUCT_NAME_LONG', 'OpenSLX Admin');
+date_default_timezone_set('Europe/Berlin');
+
// Sort order for menu
// Optional - if missing, will be sorted by module id (internal name)
// Here it is also possible to assign a module to a different category,
@@ -45,12 +47,12 @@ $MENU_CAT_OVERRIDE = array(
'sysconfig', 'baseconfig', 'minilinux'
),
'main.settings-server' => array(
- 'serversetup', 'vmstore', 'webinterface', 'backup', 'dnbd3'
+ 'serversetup', 'vmstore', 'webinterface', 'backup', 'dnbd3', 'rebootcontrol'
),
'main.status' => array(
'systemstatus', 'eventlog', 'syslog', 'statistics', 'statistics_reporting'
),
'main.etc' => array(
- 'rebootcontrol', 'runmode', 'translation'
+ 'runmode', 'translation'
)
); \ No newline at end of file