in /www/wwwroot/tiantiancaipu/tiantiancaipu_php/vendor/yiisoft/yii2/base/Module.php at line 537
}
$response = $this->getResponse();
if ($result !== null) {
$response->data = $result;
}
return $response;
} catch (InvalidRouteException $e) {
throw new NotFoundHttpException(Yii::t('yii', 'Page not found.'), $e->getCode(), $e);
}
}
private $_homeUrl;
/**
* @return string the homepage URL
*/
public function getHomeUrl()
{
try {
$this->state = self::STATE_BEFORE_REQUEST;
$this->trigger(self::EVENT_BEFORE_REQUEST);
$this->state = self::STATE_HANDLING_REQUEST;
$response = $this->handleRequest($this->getRequest());
$this->state = self::STATE_AFTER_REQUEST;
$this->trigger(self::EVENT_AFTER_REQUEST);
$this->state = self::STATE_SENDING_RESPONSE;
$response->send();
require __DIR__ . '/../../common/config/main.php',
require __DIR__ . '/../config/main.php',
require __DIR__ . '/../config/main-pc.php'
);
error_reporting(E_ALL^E_NOTICE^E_WARNING);
(new yii\web\Application($config))->run();
/*$xhprof_data = xhprof_disable();
include_once '/home/xhprof-master'.'/xhprof_lib/utils/xhprof_lib.php';
include_once '/home/xhprof-master' . '/xhprof_lib/utils/xhprof_runs.php';
$xhprof_runs = new XHProfRuns_Default();