filesDir = $this->getBasePath(); } /** * Get the base path for file storage. * @return string */ function getBasePath() { return Config::getVar('files', 'files_dir'); } } ?>