Changeset 5341 for trunk/prototype/app/cache/MemoryCache.php
- Timestamp:
- 01/10/12 11:25:51 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/app/cache/MemoryCache.php
r5136 r5341 72 72 file_put_contents( "/tmp/cache.log", file_get_contents( "/tmp/cache.log" ) . $output . "\n" ); 73 73 74 if($compressed) 75 return $this->_memcache->set($id, $data, MEMCACHE_COMPRESSED, $expire); 76 else 77 return $this->_memcache->set($id, $data, 0, $expire); 74 // if($compressed) 75 // return $this->_memcache->set($id, $data, MEMCACHE_COMPRESSED, $expire); 76 // else 77 // return $this->_memcache->set($id, $data, 0, $expire); 78 return false; 78 79 } 79 80 … … 86 87 public function get($id){ 87 88 88 $return = $this->_memcache->get($id); 89 // $return = $this->_memcache->get($id); 90 $return = false; 89 91 90 92 if( $return ){
Note: See TracChangeset
for help on using the changeset viewer.