예제 #1
0
<?php

require 'vendor/autoload.php';
\WFramework\App::Instance()->dir = __DIR__;
\WFramework\App::Instance()->start();
예제 #2
0
 public function __construct()
 {
     $views = App::Instance()->dir . '/views';
     $cache = App::Instance()->dir . '/cache';
     $this->blade = new Blade($views, $cache);
 }