X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fsmtp.php;h=fd179db65baecbf0225982ee74d38bf5c4f5c08c;hb=6332704d9e75c774f164dda49a29f87a3454f789;hp=0d0edd1442c35ec162a9a270a2eb2610b9339bb2;hpb=8fa48477b2f16ace25eded6bd44074248de5d4f6;p=squirrelmail.git
diff --git a/functions/smtp.php b/functions/smtp.php
index 0d0edd14..fd179db6 100644
--- a/functions/smtp.php
+++ b/functions/smtp.php
@@ -11,8 +11,8 @@
return;
define('smtp_php', true);
- include('../functions/addressbook.php');
- include('../functions/plugin.php');
+ require_once('../functions/addressbook.php');
+ require_once('../functions/plugin.php');
global $username, $popuser, $domain;
@@ -448,7 +448,7 @@
if ($num != 250) {
$tmp = nl2br(htmlspecialchars($tmp));
displayPageHeader($color, 'None');
- include ("../functions/display_messages.php");
+ include_once('../functions/display_messages.php');
$msg = "Message not sent!
\nReason given: $tmp";
plain_error_message($msg, $color);
return(0);
@@ -554,9 +554,9 @@
}
if ($status == 0) {
- include '../functions/page_header.php';
+ include_once('../functions/page_header.php');
displayPageHeader($color, 'None');
- include ("../functions/display_messages.php");
+ include_once('../functions/display_messages.php');
$lines = nl2br(htmlspecialchars($lines));
$msg = $message . "
\nServer replied: $lines";
plain_error_message($msg, $color);
@@ -622,4 +622,4 @@
return $length;
}
-?>
+?>
\ No newline at end of file