updated to the new pikotools api - we have a logger for morm and ezc
pikotools has now Log and FileLog classes which are base classes for winix Log and FileLog classes git-svn-id: svn://ttmath.org/publicrep/winix/branches/0.7.x@1151 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -125,10 +125,10 @@ void PatternCacher::CreatePattern(const Item & item, Ezc::Pattern & pattern)
|
||||
*/
|
||||
pattern_parser.AllowInclude(false);
|
||||
pattern_parser.DeleteWhiteTextItems(false);
|
||||
pattern_parser.SetLogger(&log);
|
||||
pattern_parser.ParseString(item.content, pattern);
|
||||
|
||||
RebuildCache(pattern);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -145,6 +145,7 @@ void Patterns::ReadPatterns(Template & templ)
|
||||
*/
|
||||
pattern_parser.DeleteWhiteTextItems(del_white_items);
|
||||
pattern_parser.Directory(templates_dir, templates_dir_def);
|
||||
pattern_parser.SetLogger(&log);
|
||||
|
||||
if( ezc_blocks )
|
||||
pattern_parser.SetBlocks(*ezc_blocks);
|
||||
|
||||
@@ -1185,7 +1185,6 @@ void Templates::set_dependency(WinixRequest * winix_request)
|
||||
TemplatesFunctions::html_filter.set_dependency(winix_request);
|
||||
|
||||
TemplatesFunctions::log.SetDependency(&this->log);
|
||||
TemplatesFunctions::log.Init(config->log_request);
|
||||
|
||||
plugin = winix_request->get_plugin();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user