Merge pull request #75 from PhoenixPeca/patch-3

Compliance #67
master
André Peters 2017-02-26 13:39:49 +01:00 committed by GitHub
commit bc3cb99fa8
1 changed files with 2 additions and 1 deletions

View File

@ -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>
<?php
exit;
}
$_SESSION['mailcow_locale'] = strtolower(trim($DEFAULT_LANG));
@ -99,4 +100,4 @@ require_once 'lang/lang.en.php';
include 'lang/lang.'.$_SESSION['mailcow_locale'].'.php';
require_once 'inc/functions.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;