From 6c1b05deafd9940da5d473800032558df90b118e Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 16 Nov 2005 22:32:52 +0000 Subject: Key modules are now using registered to application rather than using reserved module names. --- framework/Web/Services/TPageService.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'framework/Web/Services') diff --git a/framework/Web/Services/TPageService.php b/framework/Web/Services/TPageService.php index f32e8ee7..0fb39dfb 100644 --- a/framework/Web/Services/TPageService.php +++ b/framework/Web/Services/TPageService.php @@ -165,8 +165,7 @@ class TPageService extends TComponent implements IService $module->init($this->_application,$moduleConfig[2]); } - if(($auth=$application->getAuthManager())!==null) - $auth->getAuthorizationRules()->mergeWith($pageConfig->getRules()); + $application->getAuthorizationRules()->mergeWith($pageConfig->getRules()); $this->_initialized=true; } -- cgit v1.2.3