changed: updated to the new ezc api, this with O(1) when looking for a specific ezc function
changed: sessions are deleted at the end of a request (and only a few sessions)
other sessions will be deleted after a next request
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@684 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -280,8 +280,9 @@ void item_run(Info & i)
|
||||
Ezc::Pattern * p = pattern_cacher.GetPattern(request->item);
|
||||
HtmlTextStream item_run_content; // !! zrobic static z tego i tu dac tylko clearowanie
|
||||
|
||||
EzcGen gen(item_run_content, *p, ezc_functions);
|
||||
gen.Generate();
|
||||
EzcGen gen;
|
||||
//gen.Generate(item_run_content, *p, ezc_functions);
|
||||
gen.Generate(item_run_content, *p);
|
||||
|
||||
item_print_content(i.out, item_run_content.Str(), request->item.content_type);
|
||||
}
|
||||
@@ -553,8 +554,9 @@ void item_tab_run(Info & i)
|
||||
Ezc::Pattern * p = pattern_cacher.GetPattern(request->item_tab[item_index]);
|
||||
HtmlTextStream item_run_content; // !! zrobic static z tego i tu dac tylko clearowanie
|
||||
|
||||
EzcGen gen(item_run_content, *p, ezc_functions);
|
||||
gen.Generate();
|
||||
EzcGen gen;
|
||||
//gen.Generate(item_run_content, *p, ezc_functions);
|
||||
gen.Generate(item_run_content, *p);
|
||||
|
||||
item_print_content(i.out, item_run_content.Str(), request->item_tab[item_index].content_type);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user