[pLog-svn] r5044 - plog/branches/lifetype-1.2/class/mail/phpmailer

Jon Daley plogworld at jon.limedaley.com
Sun Mar 11 09:58:18 EDT 2007


 	Why is this?  Does it get called from some place that doesn't have 
the bootstrap included?
 	When I switched all these I couldn't think of a reason why 
lt_include shouldn't be used everywhere, so I am curious as to what 
reason(s) include_once is still needed.

On Sat, 10 Mar 2007, reto at devel.lifetype.net wrote:
> Author: reto
> Date: 2007-03-10 19:22:45 -0500 (Sat, 10 Mar 2007)
> New Revision: 5044
>
> Modified:
>   plog/branches/lifetype-1.2/class/mail/phpmailer/class.phpmailer.php
> Log:
> we need include_once here.
>
>
>
> Modified: plog/branches/lifetype-1.2/class/mail/phpmailer/class.phpmailer.php
> ===================================================================
> --- plog/branches/lifetype-1.2/class/mail/phpmailer/class.phpmailer.php	2007-03-11 00:21:11 UTC (rev 5043)
> +++ plog/branches/lifetype-1.2/class/mail/phpmailer/class.phpmailer.php	2007-03-11 00:22:45 UTC (rev 5044)
> @@ -457,7 +457,7 @@
>      * @return bool
>      */
>     function SmtpSend($header, $body) {
> -        lt_include($this->PluginDir . "class.smtp.php");
> +        include_once($this->PluginDir . "class.smtp.php");
>         $error = "";
>         $bad_rcpt = array();
>
> @@ -1496,4 +1496,4 @@
>     }
> }
>
> -?>
> \ No newline at end of file
> +?>
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>

-- 
Jon Daley
http://jon.limedaley.com/

Isn't it unnerving that doctors call what they do "practice"?


More information about the pLog-svn mailing list