Merge pull request #67 from PhoenixPeca/patch-1

Fixed some PHP Errors and PHP Warnings
This commit is contained in:
André Peters 2017-02-26 11:54:09 +01:00 committed by GitHub
commit 07bcf13cee

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));