Exemple #1
0
 public function init($path)
 {
     $this->fix_gpc_magic();
     $app = new App();
     $app->init($path);
 }
Exemple #2
0
<?php

/*
 * 单元测试入口
 */
use core\Group\App\App;
$loader = (require __DIR__ . '/../vendor/autoload.php');
$loader->setUseIncludePath(true);
$app = new App();
$app->initSelf();
$app->registerServices();