/** * Handle the incoming request using the command resolver * * @access protected * @return void */ protected function handleRequest() { $cmd_r = new ipsController_CommandResolver(); self::$cmd = $cmd_r->getCommand($this->registry); IPSDebug::setMemoryDebugFlag("Everything up until execute call", 0); self::$cmd->execute($this->registry); }
/** * Handle the incoming request using the command resolver * * @access protected * @return @e void */ protected function handleRequest() { $cmd_r = new ipsController_CommandResolver(); try { self::$cmd = $cmd_r->getCommand($this->registry); } catch (Exception $e) { $msg = $e->getMessage(); /* An error occured, so throw a 404 */ try { /* The following patch prevents links such as /admin/index.php?adsess=123&app=anyrandomnamehere&module=login&do=login-complete from loading an ACP error screen complete with wrapper, which may expose the applications that are installed to an end user. This issue was reported by Christopher Truncer via the IPS ticket system. */ if (IN_ACP and !$this->registry->member()->getProperty('member_id')) { $this->registry->getClass('output')->silentRedirect(ipsRegistry::$settings['base_url']); } $this->registry->getClass('output')->showError('incorrect_furl', 404, null, null, 404); } catch (Exception $e) { print $msg; exit; } } IPSDebug::setMemoryDebugFlag("Everything up until execute call", 0); self::$cmd->execute($this->registry); }
/** * Handle the incoming request using the command resolver * * @access protected * @return @e void */ protected function handleRequest() { $cmd_r = new ipsController_CommandResolver(); self::$cmd = $cmd_r->getCommand($this->registry); self::$cmd->execute($this->registry); }