in /data/benew/play/vendor/yiisoft/yii2/base/Module.php at line 561
} $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();
$appName = ($appEnv['appList'][$appKey] ?? 'appWeb'); $appConfig = require APP_BASE_PATH . '/config/'.$appName.'.php'; $config = yii\helpers\ArrayHelper::merge($appEnv['pubConfig'], $appConfig); $app = new yii\web\Application($config); $app->params['_reqStart'] = microtime(true); $app->run();
$_GET = [ 'authclient' => 'yandex', ];