summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2006-02-12 22:15:58 +0000
committerxue <>2006-02-12 22:15:58 +0000
commit25ccc46474252080d6d34800d899cb5c5904703e (patch)
tree99438739e4b829f7e7cb3ea50a3324e2b3839804
parent0b300b68cf9fde397c00abdc21917ac24aa042f0 (diff)
Fixed the bug of missing _initialized variable.
-rw-r--r--framework/Web/UI/TAssetManager.php5
1 files changed, 5 insertions, 0 deletions
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;
}
/**