public function __construct() { parent::__construct(); self::$_app = $this; self::$webApp = new \hmvc\Web\Application(); \hmvc\HApplication::$rootPath = dirname(\hmvc\HApplication::$rootPath) . '/'; \hmvc\HApplication::$varPath = dirname(\hmvc\HApplication::$rootPath) . DS . 'var/'; }
public function __construct() { parent::__construct(); self::$_app = $this; }