Merge pull request #67 from PhoenixPeca/patch-1
Fixed some PHP Errors and PHP Warnings
This commit is contained in:
commit
07bcf13cee
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user