diff options
-rw-r--r-- | framework/TApplication.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/TApplication.php b/framework/TApplication.php index be551089..a9a9cf15 100644 --- a/framework/TApplication.php +++ b/framework/TApplication.php @@ -805,7 +805,9 @@ class TApplication extends TComponent if($this->_configFile===null) { - $this->getRequest()->setAvailableServices(array(self::PAGE_SERVICE_ID)); + $request=$this->getRequest(); + $request->setAvailableServices(array(self::PAGE_SERVICE_ID)); + $request->resolveRequest(); $this->_service=$this->getPageService(); return; } |