summaryrefslogtreecommitdiffstats
path: root/satellit_installer
diff options
context:
space:
mode:
authorSimon Rettberg2022-03-09 14:16:20 +0100
committerSimon Rettberg2022-03-09 14:16:20 +0100
commit4a825928dc8efb0d41781cbd523b85d4cf57fa11 (patch)
treec7177425b6a2a6156633dac4bfcc40b36cd28ed6 /satellit_installer
parent[SSUS] Add warning about Debian 9 support ending soon (diff)
downloadsetup-scripts-4a825928dc8efb0d41781cbd523b85d4cf57fa11.tar.gz
setup-scripts-4a825928dc8efb0d41781cbd523b85d4cf57fa11.tar.xz
setup-scripts-4a825928dc8efb0d41781cbd523b85d4cf57fa11.zip
[SSPS] slx-admin: Set charset via connect string, so php knows about it
Diffstat (limited to 'satellit_installer')
-rw-r--r--satellit_installer/static_files/slxadmin/srv/openslx/www/slx-admin/config.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/satellit_installer/static_files/slxadmin/srv/openslx/www/slx-admin/config.php b/satellit_installer/static_files/slxadmin/srv/openslx/www/slx-admin/config.php
index c585f1b..a239fef 100644
--- a/satellit_installer/static_files/slxadmin/srv/openslx/www/slx-admin/config.php
+++ b/satellit_installer/static_files/slxadmin/srv/openslx/www/slx-admin/config.php
@@ -7,9 +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;charset=utf8mb4');
+define('CONFIG_SQL_DSN', 'mysql:dbname=openslx;host=localhost');
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', false);
define('CONFIG_TM_PASSWORD', '%TM_OPENSLX_PASS%');