summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/TApplication.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/TApplication.php b/framework/TApplication.php
index e21bd4e7..1901506b 100644
--- a/framework/TApplication.php
+++ b/framework/TApplication.php
@@ -577,7 +577,7 @@ class TApplication extends TComponent
public function setRuntimePath($value)
{
$this->_runtimePath=$value;
- if($cacheConfig)
+ if($this->_cacheFile)
$this->_cacheFile=$this->_runtimePath.DIRECTORY_SEPARATOR.self::CONFIGCACHE_FILE;
// generates unique ID by hashing the runtime path
$this->_uniqueID=md5($this->_runtimePath);