function _compiledTemplatePath() { if (!$this->path->temp) { return false; } $path = $this->path->temp . Gongo_File_Path::make('/smarty2/templates_c/'); Gongo_File::makeDir($path); return $path; }
function _log() { if (!$this->temp) { return false; } $path = $this->temp . Gongo_File_Path::make('/logs'); Gongo_File::makeDir($path); return $path; }
function _cachePath() { if (!$this->path->temp) { return false; } $path = $this->path->temp . Gongo_File_Path::make('/twig/'); Gongo_File::makeDir($path); return $path; }
function cachePath($name = null) { if (!$this->path->temp) { return false; } $name = is_null($name) ? $this->name : $name; $path = $this->path->temp . Gongo_File_Path::make('/' . $name . '/'); Gongo_File::makeDir($path); return $path; }
public function getList($name) { return Gongo_File::scandir($name); }