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