Просмотр исходного кода

Moved the include lower -- less overhead when it's usually not needed until
this display part.

Tyler Akins 24 лет назад
Родитель
Сommit
f438e70eee
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      functions/smtp.php

+ 1 - 1
functions/smtp.php

@@ -462,7 +462,6 @@
 
    function errorCheck($line, $smtpConnection, $verbose = false) {
       global $color;
-      include '../functions/page_header.php';
       
       // Read new lines on a multiline response
       $lines = $line;
@@ -553,6 +552,7 @@
       }
 
       if ($status == 0) {
+         include '../functions/page_header.php';
          displayPageHeader($color, 'None');
 		 include ("../functions/display_messages.php");
          $lines = nl2br(htmlspecialchars($lines));