Made certain strings less ugly.

This commit is contained in:
flash 2025-02-09 16:41:09 +00:00
parent cc37b7cad3
commit 7bf9a7eedd
17 changed files with 273 additions and 249 deletions

View file

@ -38,7 +38,10 @@ if($env->hasValues('sentry:dsn'))
})($env->scopeTo('sentry'));
$db = DbBackends::create($env->getString('database:dsn', 'null:'));
$db->execute('SET SESSION time_zone = \'+00:00\', sql_mode = \'STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION\';');
$db->execute(<<<SQL
SET SESSION time_zone = '+00:00',
sql_mode = 'STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION';
SQL);
$cfg = new DbConfig($db, 'msz_config');