diff options
Diffstat (limited to 'config.php.example')
-rw-r--r-- | config.php.example | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/config.php.example b/config.php.example index b78ace80..6b291cd1 100644 --- a/config.php.example +++ b/config.php.example @@ -7,15 +7,13 @@ 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_TGZ_LIST_DIR', '/opt/openslx/configs'); +define('CONFIG_TM_PASSWORD', '%TM_OPENSLX_PASS%'); -define('CONFIG_REMOTE_ML', 'https://bwlp-masterserver.ruf.uni-freiburg.de/minilinux/sat_03'); +define('CONFIG_TGZ_LIST_DIR', '/opt/openslx/configs'); define('CONFIG_TFTP_DIR', '/srv/openslx/tftp'); define('CONFIG_HTTP_DIR', '/srv/openslx/www/boot'); @@ -24,9 +22,7 @@ define('CONFIG_IPXE_DIR', '/opt/openslx/ipxe'); define('CONFIG_VMSTORE_DIR', '/srv/openslx/nfs'); -define('CONFIG_PROXY_CONF', '/opt/openslx/proxy/config'); - -/* for the dozmod API proxy cache */ +/* for the dozmod API proxy cache */ define('CONFIG_DOZMOD_URL', 'http://127.0.0.1:9080'); define('CONFIG_DOZMOD_EXPIRE', 60); @@ -37,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, @@ -49,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 |