diff options
author | xue <> | 2007-03-06 13:42:50 +0000 |
---|---|---|
committer | xue <> | 2007-03-06 13:42:50 +0000 |
commit | 8746007d968660f93dac079477405ded6fa14cbe (patch) | |
tree | e475e8750d0edafd785bd4d32dc8648ffc437e57 /framework/Web/Services | |
parent | b29a1544cac088cbdffa0b36f5d3bdebf1b18264 (diff) |
Modified component inclusion method in bootstrap code.
Fixed a bug about using page configuration.
Diffstat (limited to 'framework/Web/Services')
-rw-r--r-- | framework/Web/Services/TPageService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/Services/TPageService.php b/framework/Web/Services/TPageService.php index e53d796f..e1bd47be 100644 --- a/framework/Web/Services/TPageService.php +++ b/framework/Web/Services/TPageService.php @@ -238,7 +238,7 @@ class TPageService extends TService {
$pageConfig=new TPageConfiguration;
if($config!==null)
- $pageConfig->loadFromXml($config,$application->getBasePath());
+ $pageConfig->loadPageConfigurationFromXml($config,$application->getBasePath());
$pageConfig->loadFromFiles($pagePath,$this->getBasePath());
$cache->set(self::CONFIG_CACHE_PREFIX.$this->getID().$pagePath,array($pageConfig,$currentTimestamp));
}
|