removed config options: ezc_error_prefix and ezc_error_postfix

Ezc::PatternParser and Ezc::Generator use only pt::Log as a logger now
This commit is contained in:
2021-06-19 20:33:35 +02:00
parent 94f96c11cb
commit d8c1a81bcb
8 changed files with 1 additions and 35 deletions

View File

@@ -1009,10 +1009,7 @@ void Templates::Init()
using namespace TemplatesFunctions;
patterns.SetDirectories(config->templates_dir, config->templates_dir_default);
patterns.SetEzcCommentary(config->ezc_error_prefix, config->ezc_error_postfix);
pattern_cacher.SetWhenDelete(config->pattern_cacher_when_delete, config->pattern_cacher_how_many_delete);
pattern_cacher.SetEzcCommentary(config->ezc_error_prefix, config->ezc_error_postfix);
CreateFunctions(); // create functions first (functions will be cached by patterns)
ReadTemplates();
}