Moved the include lower -- less overhead when it's usually not needed until
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 2 Jul 2001 02:17:19 +0000 (02:17 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 2 Jul 2001 02:17:19 +0000 (02:17 +0000)
this display part.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1437 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/smtp.php

index b8969a1..0eb06c9 100644 (file)
 
    function errorCheck($line, $smtpConnection, $verbose = false) {
       global $color;
-      include '../functions/page_header.php';
       
       // Read new lines on a multiline response
       $lines = $line;
       }
 
       if ($status == 0) {
+         include '../functions/page_header.php';
          displayPageHeader($color, 'None');
                 include ("../functions/display_messages.php");
          $lines = nl2br(htmlspecialchars($lines));