Explorar o código

Update prerequisites.inc.php

Phoenix Eve Aspacio %!s(int64=8) %!d(string=hai) anos
pai
achega
2e18944e6c
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      data/web/inc/prerequisites.inc.php

+ 2 - 1
data/web/inc/prerequisites.inc.php

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