Changeset 340 for dev/common/includes/class.kill.php
- Timestamp:
- 10/14/08 22:17:05 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/common/includes/class.kill.php
r327 r340 194 194 function getRawMail() 195 195 { 196 $this->execQuery(); 196 if (config::get('km_cache_enabled') && file_exists(config::get('km_cache_dir')."/".$this->getID().".txt")) 197 { 198 return file_get_contents(config::get('km_cache_dir')."/".$this->getID().".txt"); 199 } 200 201 $this->execQuery(); 197 202 if ($this->isClassified()) 198 203 { … … 321 326 } 322 327 } 328 329 if (config::get('km_cache_enabled')) file_put_contents(config::get('km_cache_dir')."/".$this->getID().".txt", $mail); 323 330 324 331 return $mail;