فهرست منبع

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

Tyler Akins 24 سال پیش
والد
کامیت
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) {
    function errorCheck($line, $smtpConnection, $verbose = false) {
       global $color;
       global $color;
-      include '../functions/page_header.php';
       
       
       // Read new lines on a multiline response
       // Read new lines on a multiline response
       $lines = $line;
       $lines = $line;
@@ -553,6 +552,7 @@
       }
       }
 
 
       if ($status == 0) {
       if ($status == 0) {
+         include '../functions/page_header.php';
          displayPageHeader($color, 'None');
          displayPageHeader($color, 'None');
 		 include ("../functions/display_messages.php");
 		 include ("../functions/display_messages.php");
          $lines = nl2br(htmlspecialchars($lines));
          $lines = nl2br(htmlspecialchars($lines));