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