diff options
author | xue <> | 2006-10-05 20:19:11 +0000 |
---|---|---|
committer | xue <> | 2006-10-05 20:19:11 +0000 |
commit | 6737b5ab5d32a8d53bcb41a473946f82334fc4e9 (patch) | |
tree | 3ece42321aece1525f1856cdaecf729fb8c2b5aa | |
parent | 6a96b55e56773c087b9aad8df22030517ce5022c (diff) |
Fixed #409.
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | framework/Web/Services/TPageService.php | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,6 @@ Version 3.0.5 October 8, 2006 =============================== +BUG: Ticket#409 - Multiple page services will mess up page caching CHG: Ticket#358 - TFileUpload::saveAs() now returns false instead of exception when error (Qiang) ENH: Ticket#361 - Introduced include template tag that supports including external templates (Qiang) ENH: Ticket#366 - white spaces are now allowed around attribute names in template (Qiang) diff --git a/framework/Web/Services/TPageService.php b/framework/Web/Services/TPageService.php index 087cb12a..ac4787f2 100644 --- a/framework/Web/Services/TPageService.php +++ b/framework/Web/Services/TPageService.php @@ -240,7 +240,7 @@ class TPageService extends TService {
$configCached=true;
$currentTimestamp=array();
- $arr=$cache->get(self::CONFIG_CACHE_PREFIX.$pagePath);
+ $arr=$cache->get(self::CONFIG_CACHE_PREFIX.$this->getID().$pagePath);
if(is_array($arr))
{
list($pageConfig,$timestamps)=$arr;
@@ -284,7 +284,7 @@ class TPageService extends TService if($config!==null)
$pageConfig->loadXmlElement($config,$application->getBasePath(),null);
$pageConfig->loadConfigurationFiles($pagePath,$this->getBasePath());
- $cache->set(self::CONFIG_CACHE_PREFIX.$pagePath,array($pageConfig,$currentTimestamp));
+ $cache->set(self::CONFIG_CACHE_PREFIX.$this->getID().$pagePath,array($pageConfig,$currentTimestamp));
}
}
return $pageConfig;
|