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 b8969a11dc1a3c9ee93d289bb758e471cf5541d0..0eb06c9cae5a90ccd38c240bbd6bcb7c27a5dffd 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));