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