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:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user