DataObjects/Core_mailing_list_message.php
authorEdward <edward@roojs.com>
Thu, 20 Feb 2014 11:50:02 +0000 (19:50 +0800)
committerEdward <edward@roojs.com>
Thu, 20 Feb 2014 11:50:02 +0000 (19:50 +0800)
DataObjects/Core_mailing_list_message.php

index 026a1cc..f1c5574 100644 (file)
@@ -238,6 +238,9 @@ class Pman_Core_DataObjects_Core_mailing_list_message extends DB_DataObject
         
         $this->processRelacements($replace_links);
         
+        $test = session_save_path() . '/email-cache-' . getenv('APACHE_RUN_USER') . '/mail/' . $this->tableName() . '-' . $this->id . '.html';
+        $fh = fopen($test, 'w');
+        
         $fh = fopen($cachePath, 'w');
 
         fwrite($fh, implode("\n", array(