Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > 62ea230c2ab6b05e62344b390f806f7d > files > 7

ipplan-4.92-4.a.fc13.src.rpm

diff -ruN ipplan.orig/user/displaysubnet.php ipplan/user/displaysubnet.php
--- ipplan.orig/user/displaysubnet.php	2009-08-23 11:17:07.326552632 +0200
+++ ipplan/user/displaysubnet.php	2009-08-23 11:28:14.122554254 +0200
@@ -261,10 +261,10 @@
                         }
 
                         if ($sendwarningmail) {
-                            require_once("../class.phpmailer.php");
+                            require_once("/usr/share/php/PHPMailer/class.phpmailer.php");
                             $mail = new PHPMailer();
                             $mail->IsSMTP(); // telling the class to use SMTP
-                            $mail->SetLanguage("en", "../");
+                            $mail->SetLanguage("en");
                             $mail->Host = EMAILSERVER; // SMTP server
                             $mail->From = HELPDESKEMAIL;
                             $mail->IsHTML(false);
@@ -347,10 +347,10 @@
                             else {
 
                                 //Send email notification that IP Request was entered 
-                                require_once("../class.phpmailer.php");
+                                require_once("/usr/share/php/PHPMailer/class.phpmailer.php");
                                 $mail = new PHPMailer();
                                 $mail->IsSMTP(); // telling the class to use SMTP
-                                $mail->SetLanguage("en", "../");
+                                $mail->SetLanguage("en");
                                 $mail->Host = EMAILSERVER; // SMTP server
                                 $mail->From = HELPDESKEMAIL;
                                 $mail->IsHTML(false);
diff -ruN ipplan.orig/user/requestip.php ipplan/user/requestip.php
--- ipplan.orig/user/requestip.php	2009-08-23 11:17:07.345554665 +0200
+++ ipplan/user/requestip.php	2009-08-23 11:27:11.342553873 +0200
@@ -140,10 +140,10 @@
             $custdescrip=$ds->GetCustomerDescrip($cust);
 
             //Send email notification that IP Request was entered 
-            require("../class.phpmailer.php");
+            require("/usr/share/php/PHPMailer/class.phpmailer.php");
             $mail = new PHPMailer();
             $mail->IsSMTP(); // telling the class to use SMTP
-            $mail->SetLanguage("en", "../");
+            $mail->SetLanguage("en");
             $mail->Host = EMAILSERVER; // SMTP server
             $mail->From = HELPDESKEMAIL;
             $mail->IsHTML(false);
diff -ruN ipplan.orig/user/swiplib.php ipplan/user/swiplib.php
--- ipplan.orig/user/swiplib.php	2009-07-17 00:15:20.000000000 +0200
+++ ipplan/user/swiplib.php	2009-08-23 11:23:16.109553193 +0200
@@ -154,10 +154,10 @@
 // email the swip entry
 function emailSWIP($swip) {
 
-    require_once("../class.phpmailer.php");
+    require_once("/usr/share/php/PHPMailer/class.phpmailer.php");
     $mail = new PHPMailer();
     $mail->IsSMTP(); // telling the class to use SMTP
-    $mail->SetLanguage("en", "../");
+    $mail->SetLanguage("en");
     $mail->Host = EMAILSERVER; // SMTP server
     $mail->From = REGADMINEMAIL;
     $mail->FromName = "IP Plan";