Macros process on one pass.
This commit is contained in:
parent
8e4c8a9fd8
commit
0ebac2be41
22 changed files with 24 additions and 51 deletions
|
|
@ -271,8 +271,7 @@ sub page {
|
|||
}
|
||||
$httpHeader = WebGUI::Session::httpHeader();
|
||||
unless ($useCache && defined $content) {
|
||||
$content = WebGUI::Template::process(WebGUI::Style::get($pageEdit.WebGUI::Page::getTemplate($template)),
|
||||
$positions);
|
||||
$content = WebGUI::Macro::process(WebGUI::Template::process(WebGUI::Style::get($pageEdit.WebGUI::Page::getTemplate($template)), $positions));
|
||||
$cache->set($cacheKey, $content, $session{config}{cachePages}) if ($useCache);
|
||||
}
|
||||
$debug = _generateDebug();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue