[pLog-svn] r1972 - plugins/trunk/moblog/class/moblog

oscar at devel.plogworld.net oscar at devel.plogworld.net
Sun May 8 22:41:02 GMT 2005


Author: oscar
Date: 2005-05-08 22:41:01 +0000 (Sun, 08 May 2005)
New Revision: 1972

Modified:
   plugins/trunk/moblog/class/moblog/moblogresponse.class.php
Log:
Added the source address for notification messages, from the site configuration settings

Modified: plugins/trunk/moblog/class/moblog/moblogresponse.class.php
===================================================================
--- plugins/trunk/moblog/class/moblog/moblogresponse.class.php	2005-05-08 22:30:21 UTC (rev 1971)
+++ plugins/trunk/moblog/class/moblog/moblogresponse.class.php	2005-05-08 22:41:01 UTC (rev 1972)
@@ -22,6 +22,9 @@
             $this->Object();
             
             $this->_message = new EmailMessage();
+            $config =& Config::getConfig();
+            $from = $config->getValue( "post_notification_source_address" );
+            $this->_message->setFrom( $from );
                         
             if( $to != null )
                 $this->setTo( $to );




More information about the pLog-svn mailing list