예제 #1
0
파일: site.php 프로젝트: dalinhuang/zotop
 public static function template($file = '')
 {
     $template = ZOTOP_PATH_THEMES . DS . site::theme() . DS . 'template';
     if (!empty($file)) {
         $template .= DS . str_replace('/', DS, trim($file, '/'));
     }
     return $template;
 }