/** * Gets the current working directory * * @access public * * @return string|bool the current working directory on success, or false on failure. */ public function cwd() { if ($this->authorized()) { return parent::cwd(); } else { return false; } }