commit
bc3cb99fa8
|
@ -43,6 +43,7 @@ catch (PDOException $e) {
|
||||||
?>
|
?>
|
||||||
<center style='font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;'>🐮 Connection failed, database may be in warm-up state, please try again later.<br /><br />The following error was reported:<br/> <?=$e->getMessage();?></center>
|
<center style='font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;'>🐮 Connection failed, database may be in warm-up state, please try again later.<br /><br />The following error was reported:<br/> <?=$e->getMessage();?></center>
|
||||||
<?php
|
<?php
|
||||||
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
$_SESSION['mailcow_locale'] = strtolower(trim($DEFAULT_LANG));
|
$_SESSION['mailcow_locale'] = strtolower(trim($DEFAULT_LANG));
|
||||||
|
@ -99,4 +100,4 @@ require_once 'lang/lang.en.php';
|
||||||
include 'lang/lang.'.$_SESSION['mailcow_locale'].'.php';
|
include 'lang/lang.'.$_SESSION['mailcow_locale'].'.php';
|
||||||
require_once 'inc/functions.inc.php';
|
require_once 'inc/functions.inc.php';
|
||||||
require_once 'inc/triggers.inc.php';
|
require_once 'inc/triggers.inc.php';
|
||||||
(!isset($_SESSION['mailcow_cc_username'])) ? init_db_schema() : null;
|
(!isset($_SESSION['mailcow_cc_username'])) ? init_db_schema() : null;
|
||||||
|
|
Loading…
Reference in New Issue