[Web] CSS fixes; Add OAUTH2_FORGET_SESSION_AFTER_LOGIN to vars.inc.php (wip); Do not run initdb on non-master cow

This commit is contained in:
andryyy committed 2020-03-24 18:46:11 +01:00
1 parent f92a4a69b2
commit 7a4560ee28
6 files changed
+20 -5

No files matched your search

+1
View File
@@ -3,6 +3,7 @@
// Slave does not serve UI
if (!preg_match('/y|yes/i', getenv('MASTER'))) {
header('Location: /SOGo', true, 307);
exit;
}
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/vars.inc.php';