From 25ccc46474252080d6d34800d899cb5c5904703e Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 12 Feb 2006 22:15:58 +0000 Subject: Fixed the bug of missing _initialized variable. --- framework/Web/UI/TAssetManager.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'framework/Web/UI') diff --git a/framework/Web/UI/TAssetManager.php b/framework/Web/UI/TAssetManager.php index c0a85b2b..d9a0bc4c 100644 --- a/framework/Web/UI/TAssetManager.php +++ b/framework/Web/UI/TAssetManager.php @@ -67,6 +67,10 @@ class TAssetManager extends TModule * @var array published assets */ private $_published=array(); + /** + * @var boolean whether the module is initialized + */ + private $_initialized=false; /** * Initializes the module. @@ -83,6 +87,7 @@ class TAssetManager extends TModule if($this->_baseUrl===null) $this->_baseUrl=rtrim(dirname($application->getRequest()->getApplicationPath()),'/').'/'.self::DEFAULT_BASEPATH; $application->getService()->setAssetManager($this); + $this->_initialized=true; } /** -- cgit v1.2.3