コード例 #1
0
ファイル: js.php プロジェクト: ITESolutions/desktop
 public function defaultAction()
 {
     $js = APP_ROOT . Helpers\Config::get('templates_folder', 'html') . Helpers\Config::get('template', 'html') . DS . 'JS' . DS . strtolower(Helpers\Router::Action());
     header('Content-type: text/javascript');
     if (!file_exists($css)) {
         header('HTTP/1.0 404 Not Found');
         // readfile('404missing.html');
         exit;
     }
     include $js;
     exit;
 }
コード例 #2
0
ファイル: install.php プロジェクト: ITESolutions/desktop
 public function setupAction()
 {
     $page = Router::Id();
     $this->initView();
 }