Example #1
0
 public function touch($id, $extraLifetime)
 {
     if (PHP_SAPI == 'cli') {
         return false;
     }
     $id = $this->_processId($id);
     return parent::touch($id, $extraLifetime);
 }
Example #2
0
 public function touch($id, $extraLifetime)
 {
     if (php_sapi_name() == 'cli') {
         return false;
     }
     $id = $this->_processId($id);
     return parent::touch($id, $extraLifetime);
 }