DataObjects/Core_email.php
authorEdward <edward@roojs.com>
Wed, 9 Jul 2014 05:49:57 +0000 (13:49 +0800)
committerEdward <edward@roojs.com>
Wed, 9 Jul 2014 05:49:57 +0000 (13:49 +0800)
DataObjects/Core_email.php

index f5b7e19..7294c3c 100644 (file)
@@ -276,7 +276,7 @@ class Pman_Core_DataObjects_Core_email extends DB_DataObject
         $ui = posix_getpwuid(posix_geteuid());
         
         $cachePath = session_save_path() . '/email-cache-' . $ui['name'] . '/mail/' . $this->tableName() . '-' . $this->id . '.txt';
-        print_r($cachePath);exit;
+        
         if($force || !$this->isGenerated($cachePath)){
             $this->cachedMailWithOutImages($force, empty($contents['replace_links']) ? false : $contents['replace_links']);
         }
@@ -361,7 +361,7 @@ Content-Transfer-Encoding: 7bit
         if (!file_exists(dirname($cachePath))) {
             mkdir(dirname($cachePath), 0700, true);
         }
-        
+        print_r($this->bodytext);exit;
         file_put_contents($cachePath, $this->bodytext);
         
     }