From 7e0b0798997b197d57d09ef5e690afdb1e6a2712 Mon Sep 17 00:00:00 2001 From: xue <> Date: Thu, 29 Dec 2005 01:16:29 +0000 Subject: Changed module init() method signature. --- framework/Web/UI/TAssetManager.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'framework/Web/UI/TAssetManager.php') diff --git a/framework/Web/UI/TAssetManager.php b/framework/Web/UI/TAssetManager.php index d15e4788..0cce2c27 100644 --- a/framework/Web/UI/TAssetManager.php +++ b/framework/Web/UI/TAssetManager.php @@ -73,10 +73,8 @@ class TAssetManager extends TModule * This method is required by IModule and is invoked by application. * @param TXmlElement module configuration */ - public function init($config=null) + public function init($config) { - parent::init($config); - $application=$this->getApplication(); if($this->_basePath===null) $this->_basePath=dirname($application->getRequest()->getPhysicalApplicationPath()).'/'.self::DEFAULT_BASEPATH; -- cgit v1.2.3