in /home/playagr/vendor/yiisoft/yii2/base/Module.php at line 561
$route = implode('/', $request->getActionSegments()); try { Craft::debug("Route requested: '$route'", __METHOD__); $this->requestedRoute = $route; return $this->runAction($route, $_GET); } catch (\Throwable $e) { $this->_unregisterDebugModule(); if ($e instanceof InvalidRouteException) { throw new NotFoundHttpException(Craft::t('yii', 'Page not found.'), $e->getCode(), $e); } throw $e; } } return null; } /**
throw new ForbiddenHttpException(); } } } // If this is an action request, call the controller if (($response = $this->_processActionRequest($request)) !== null) { return $response; } // If we're still here, finally let Yii do it's thing. try { return parent::handleRequest($request);
{ 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();
// Load shared bootstrap require dirname(__DIR__) . '/bootstrap.php'; // Load and run Craft /** @var craft\web\Application $app */ $app = require CRAFT_VENDOR_PATH . '/craftcms/cms/bootstrap/web.php'; $app->run();
$_GET = [ 'p' => 'wp-login.php', 'action' => 'lostpassword', ];