diff options
Diffstat (limited to 'framework/Util/TParameterModule.php')
-rw-r--r-- | framework/Util/TParameterModule.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/Util/TParameterModule.php b/framework/Util/TParameterModule.php index 9ab25936..5b345b4e 100644 --- a/framework/Util/TParameterModule.php +++ b/framework/Util/TParameterModule.php @@ -69,9 +69,9 @@ class TParameterModule extends TModule $cacheKey='TParameterModule:'.$this->_paramFile; if(($configFile=$cache->get($cacheKey))===false) { - $cacheFile=new TXmlDocument; - $cacheFile->loadFromFile($this->_paramFile); - $cache->set($cacheKey,$cacheFile,0,new TFileCacheDependency($this->_paramFile)); + $configFile=new TXmlDocument; + $configFile->loadFromFile($this->_paramFile); + $cache->set($cacheKey,$configFile,0,new TFileCacheDependency($this->_paramFile)); } } else |