예제 #1
0
파일: Smarty2.php 프로젝트: no22/gongo
 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
파일: Path.php 프로젝트: no22/gongo
 function _log()
 {
     if (!$this->temp) {
         return false;
     }
     $path = $this->temp . Gongo_File_Path::make('/logs');
     Gongo_File::makeDir($path);
     return $path;
 }
예제 #3
0
파일: Twig.php 프로젝트: no22/gongo
 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
파일: Template.php 프로젝트: no22/gongo
 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
파일: Local.php 프로젝트: no22/gongo
 public function getList($name)
 {
     return Gongo_File::scandir($name);
 }