protected function getSessionPath() { if ($this->config->has('path.session')) { return $this->config->get('path.session'); } if ($this->config->has('path.storage')) { return $this->config->get('path.storage') . '/session'; } return null; }
protected function getLogDirectory() { if ($this->config->has('path.logs')) { return $this->config->get('path.logs'); } if ($this->config->has('path.storage')) { $path = $this->config->get('path.storage') . '/logs'; if (is_dir($path)) { return $path; } } return null; }