Bläddra i källkod

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

Tyler Akins 24 år sedan
förälder
incheckning
f438e70eee
1 ändrade filer med 1 tillägg och 1 borttagningar
  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));