Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. in /Applications/MAMP/htdocs/craft/vendor/craftcms/cms/src/web/Application.php at line 498
- 489490491492493494495496497498499500501502503504505506507
- // Should they be?
- if (!$isInstalled) {
- // Give it to them if accessing the CP
- if ($isCpRequest) {
- $url = UrlHelper::url('install');
- $this->getResponse()->redirect($url);
- $this->end();
- } // Otherwise return a 503
- else {
- throw new ServiceUnavailableHttpException();
- }
- }
- return null;
- }
- /**
- * Processes action requests.
- *
- 2. in /Applications/MAMP/htdocs/craft/vendor/craftcms/cms/src/web/Application.php at line 175 – craftwebApplication::_processInstallRequest(craftwebRequest)
- 169170171172173174175176177178179180181
- } else {
- // In case PHP is already setting one
- header_remove('X-Powered-By');
- }
- // Process install requests
- if (($response = $this->_processInstallRequest($request)) !== null) {
- return $response;
- }
- // Check if the app path has changed. If so, run the requirements check again.
- if (($response = $this->_processRequirementsCheck($request)) !== null) {
- $this->_unregisterDebugModule();
- 3. in /Applications/MAMP/htdocs/craft/vendor/yiisoft/yii2/base/Application.php at line 386 – craftwebApplication::handleRequest(craftwebRequest)
- 380381382383384385386387388389390391392
- {
- 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();
- 4. in /Applications/MAMP/htdocs/craft/web/index.php at line 21 – yiibaseApplication::run()
Add Comment
Please, Sign In to add comment