Пример #1
0
 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;
 }
Пример #2
0
 function _log()
 {
     if (!$this->temp) {
         return false;
     }
     $path = $this->temp . Gongo_File_Path::make('/logs');
     Gongo_File::makeDir($path);
     return $path;
 }
Пример #3
0
 function _cachePath()
 {
     if (!$this->path->temp) {
         return false;
     }
     $path = $this->path->temp . Gongo_File_Path::make('/twig/');
     Gongo_File::makeDir($path);
     return $path;
 }
Пример #4
0
 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;
 }
Пример #5
0
 public function getList($name)
 {
     return Gongo_File::scandir($name);
 }