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:
2018-11-23 17:53:43 +00:00
parent 491dd27ebf
commit b90445de4a
35 changed files with 1163 additions and 1364 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -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);
}

View File

@@ -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);

View File

@@ -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();
}