diff --git a/common.php b/common.php index 9f125d1b..3ee28987 100644 --- a/common.php +++ b/common.php @@ -69,6 +69,7 @@ Config::write($CONF); require_once("$incpath/languages/language.php"); require_once("$incpath/functions.inc.php"); +require_once("$incpath/lib/random_compat.phar"); if (defined('POSTFIXADMIN_CLI')) { $language = 'en'; # TODO: make configurable or autodetect from locale settings @@ -89,10 +90,10 @@ Config::write('__LANG', $PALANG); unset($incpath); if (!defined('POSTFIXADMIN_CLI')) { - if (!is_file(dirname(__FILE__) . "/smarty.inc.php")) { + if (!is_file(dirname(__FILE__) . "/lib/smarty.inc.php")) { die("smarty.inc.php is missing! Something is wrong..."); } - require_once(dirname(__FILE__) . "/smarty.inc.php"); + require_once(dirname(__FILE__) . "/lib/smarty.inc.php"); } /* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */ diff --git a/lib/random_compat.phar b/lib/random_compat.phar new file mode 100644 index 00000000..781c1f00 Binary files /dev/null and b/lib/random_compat.phar differ diff --git a/lib/random_compat.phar.pubkey b/lib/random_compat.phar.pubkey new file mode 100644 index 00000000..eb50ebfc --- /dev/null +++ b/lib/random_compat.phar.pubkey @@ -0,0 +1,5 @@ +-----BEGIN PUBLIC KEY----- +MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEEd+wCqJDrx5B4OldM0dQE0ZMX+lx1ZWm +pui0SUqD4G29L3NGsz9UhJ/0HjBdbnkhIK5xviT0X5vtjacF6ajgcCArbTB+ds+p ++h7Q084NuSuIpNb6YPfoUFgC/CL9kAoc +-----END PUBLIC KEY----- diff --git a/lib/random_compat.txt b/lib/random_compat.txt new file mode 100644 index 00000000..5c7a8352 --- /dev/null +++ b/lib/random_compat.txt @@ -0,0 +1,4 @@ +Downloaded on 2018/04/29. + +https://github.com/paragonie/random_compat/releases/download/v2.0.12/random_compat.phar.pubkey +https://github.com/paragonie/random_compat/releases/download/v2.0.12/random_compat.phar diff --git a/smarty.inc.php b/lib/smarty.inc.php similarity index 94% rename from smarty.inc.php rename to lib/smarty.inc.php index 69e511f6..b98d5c1c 100644 --- a/smarty.inc.php +++ b/lib/smarty.inc.php @@ -12,10 +12,10 @@ class PFASmarty { $this->template = new Smarty(); //$this->template->debugging = true; - $this->template->setTemplateDir(dirname(__FILE__) . '/templates'); + $this->template->setTemplateDir(dirname(__FILE__) . '/../templates'); // if it's not present or writeable, smarty should just not cache. - $templates_c = dirname(__FILE__) . '/templates_c'; + $templates_c = dirname(__FILE__) . '/../templates_c'; if (is_dir($templates_c) && is_writeable($templates_c)) { $this->template->setCompileDir($templates_c); } else { @@ -25,7 +25,7 @@ class PFASmarty { die("ERROR: the templates_c directory doesn't exist or isn't writeable for the webserver"); } - $this->template->setConfigDir(dirname(__FILE__) . '/configs'); + $this->template->setConfigDir(dirname(__FILE__) . '/../configs'); } public function assign($key, $value, $sanitise = true) { diff --git a/smarty/COPYING.lib b/lib/smarty/COPYING.lib similarity index 100% rename from smarty/COPYING.lib rename to lib/smarty/COPYING.lib diff --git a/smarty/libs/Autoloader.php b/lib/smarty/libs/Autoloader.php similarity index 100% rename from smarty/libs/Autoloader.php rename to lib/smarty/libs/Autoloader.php diff --git a/smarty/libs/Smarty.class.php b/lib/smarty/libs/Smarty.class.php similarity index 100% rename from smarty/libs/Smarty.class.php rename to lib/smarty/libs/Smarty.class.php diff --git a/smarty/libs/SmartyBC.class.php b/lib/smarty/libs/SmartyBC.class.php similarity index 100% rename from smarty/libs/SmartyBC.class.php rename to lib/smarty/libs/SmartyBC.class.php diff --git a/smarty/libs/bootstrap.php b/lib/smarty/libs/bootstrap.php similarity index 100% rename from smarty/libs/bootstrap.php rename to lib/smarty/libs/bootstrap.php diff --git a/smarty/libs/debug.tpl b/lib/smarty/libs/debug.tpl similarity index 100% rename from smarty/libs/debug.tpl rename to lib/smarty/libs/debug.tpl diff --git a/smarty/libs/plugins/block.textformat.php b/lib/smarty/libs/plugins/block.textformat.php similarity index 100% rename from smarty/libs/plugins/block.textformat.php rename to lib/smarty/libs/plugins/block.textformat.php diff --git a/smarty/libs/plugins/function.counter.php b/lib/smarty/libs/plugins/function.counter.php similarity index 100% rename from smarty/libs/plugins/function.counter.php rename to lib/smarty/libs/plugins/function.counter.php diff --git a/smarty/libs/plugins/function.cycle.php b/lib/smarty/libs/plugins/function.cycle.php similarity index 100% rename from smarty/libs/plugins/function.cycle.php rename to lib/smarty/libs/plugins/function.cycle.php diff --git a/smarty/libs/plugins/function.fetch.php b/lib/smarty/libs/plugins/function.fetch.php similarity index 100% rename from smarty/libs/plugins/function.fetch.php rename to lib/smarty/libs/plugins/function.fetch.php diff --git a/smarty/libs/plugins/function.html_checkboxes.php b/lib/smarty/libs/plugins/function.html_checkboxes.php similarity index 100% rename from smarty/libs/plugins/function.html_checkboxes.php rename to lib/smarty/libs/plugins/function.html_checkboxes.php diff --git a/smarty/libs/plugins/function.html_image.php b/lib/smarty/libs/plugins/function.html_image.php similarity index 100% rename from smarty/libs/plugins/function.html_image.php rename to lib/smarty/libs/plugins/function.html_image.php diff --git a/smarty/libs/plugins/function.html_options.php b/lib/smarty/libs/plugins/function.html_options.php similarity index 100% rename from smarty/libs/plugins/function.html_options.php rename to lib/smarty/libs/plugins/function.html_options.php diff --git a/smarty/libs/plugins/function.html_radios.php b/lib/smarty/libs/plugins/function.html_radios.php similarity index 100% rename from smarty/libs/plugins/function.html_radios.php rename to lib/smarty/libs/plugins/function.html_radios.php diff --git a/smarty/libs/plugins/function.html_select_date.php b/lib/smarty/libs/plugins/function.html_select_date.php similarity index 100% rename from smarty/libs/plugins/function.html_select_date.php rename to lib/smarty/libs/plugins/function.html_select_date.php diff --git a/smarty/libs/plugins/function.html_select_time.php b/lib/smarty/libs/plugins/function.html_select_time.php similarity index 100% rename from smarty/libs/plugins/function.html_select_time.php rename to lib/smarty/libs/plugins/function.html_select_time.php diff --git a/smarty/libs/plugins/function.html_table.php b/lib/smarty/libs/plugins/function.html_table.php similarity index 100% rename from smarty/libs/plugins/function.html_table.php rename to lib/smarty/libs/plugins/function.html_table.php diff --git a/smarty/libs/plugins/function.mailto.php b/lib/smarty/libs/plugins/function.mailto.php similarity index 100% rename from smarty/libs/plugins/function.mailto.php rename to lib/smarty/libs/plugins/function.mailto.php diff --git a/smarty/libs/plugins/function.math.php b/lib/smarty/libs/plugins/function.math.php similarity index 100% rename from smarty/libs/plugins/function.math.php rename to lib/smarty/libs/plugins/function.math.php diff --git a/smarty/libs/plugins/modifier.capitalize.php b/lib/smarty/libs/plugins/modifier.capitalize.php similarity index 100% rename from smarty/libs/plugins/modifier.capitalize.php rename to lib/smarty/libs/plugins/modifier.capitalize.php diff --git a/smarty/libs/plugins/modifier.date_format.php b/lib/smarty/libs/plugins/modifier.date_format.php similarity index 100% rename from smarty/libs/plugins/modifier.date_format.php rename to lib/smarty/libs/plugins/modifier.date_format.php diff --git a/smarty/libs/plugins/modifier.debug_print_var.php b/lib/smarty/libs/plugins/modifier.debug_print_var.php similarity index 100% rename from smarty/libs/plugins/modifier.debug_print_var.php rename to lib/smarty/libs/plugins/modifier.debug_print_var.php diff --git a/smarty/libs/plugins/modifier.escape.php b/lib/smarty/libs/plugins/modifier.escape.php similarity index 100% rename from smarty/libs/plugins/modifier.escape.php rename to lib/smarty/libs/plugins/modifier.escape.php diff --git a/smarty/libs/plugins/modifier.mb_wordwrap.php b/lib/smarty/libs/plugins/modifier.mb_wordwrap.php similarity index 100% rename from smarty/libs/plugins/modifier.mb_wordwrap.php rename to lib/smarty/libs/plugins/modifier.mb_wordwrap.php diff --git a/smarty/libs/plugins/modifier.regex_replace.php b/lib/smarty/libs/plugins/modifier.regex_replace.php similarity index 100% rename from smarty/libs/plugins/modifier.regex_replace.php rename to lib/smarty/libs/plugins/modifier.regex_replace.php diff --git a/smarty/libs/plugins/modifier.replace.php b/lib/smarty/libs/plugins/modifier.replace.php similarity index 100% rename from smarty/libs/plugins/modifier.replace.php rename to lib/smarty/libs/plugins/modifier.replace.php diff --git a/smarty/libs/plugins/modifier.spacify.php b/lib/smarty/libs/plugins/modifier.spacify.php similarity index 100% rename from smarty/libs/plugins/modifier.spacify.php rename to lib/smarty/libs/plugins/modifier.spacify.php diff --git a/smarty/libs/plugins/modifier.truncate.php b/lib/smarty/libs/plugins/modifier.truncate.php similarity index 100% rename from smarty/libs/plugins/modifier.truncate.php rename to lib/smarty/libs/plugins/modifier.truncate.php diff --git a/smarty/libs/plugins/modifiercompiler.cat.php b/lib/smarty/libs/plugins/modifiercompiler.cat.php similarity index 100% rename from smarty/libs/plugins/modifiercompiler.cat.php rename to lib/smarty/libs/plugins/modifiercompiler.cat.php diff --git a/smarty/libs/plugins/modifiercompiler.count_characters.php b/lib/smarty/libs/plugins/modifiercompiler.count_characters.php similarity index 100% rename from smarty/libs/plugins/modifiercompiler.count_characters.php rename to lib/smarty/libs/plugins/modifiercompiler.count_characters.php diff --git a/smarty/libs/plugins/modifiercompiler.count_paragraphs.php b/lib/smarty/libs/plugins/modifiercompiler.count_paragraphs.php similarity index 100% rename from smarty/libs/plugins/modifiercompiler.count_paragraphs.php rename to lib/smarty/libs/plugins/modifiercompiler.count_paragraphs.php diff --git a/smarty/libs/plugins/modifiercompiler.count_sentences.php b/lib/smarty/libs/plugins/modifiercompiler.count_sentences.php similarity index 100% rename from smarty/libs/plugins/modifiercompiler.count_sentences.php rename to lib/smarty/libs/plugins/modifiercompiler.count_sentences.php diff --git a/smarty/libs/plugins/modifiercompiler.count_words.php b/lib/smarty/libs/plugins/modifiercompiler.count_words.php similarity index 100% rename from smarty/libs/plugins/modifiercompiler.count_words.php rename to lib/smarty/libs/plugins/modifiercompiler.count_words.php diff --git a/smarty/libs/plugins/modifiercompiler.default.php b/lib/smarty/libs/plugins/modifiercompiler.default.php similarity index 100% rename from smarty/libs/plugins/modifiercompiler.default.php rename to lib/smarty/libs/plugins/modifiercompiler.default.php diff --git a/smarty/libs/plugins/modifiercompiler.escape.php b/lib/smarty/libs/plugins/modifiercompiler.escape.php similarity index 100% rename from smarty/libs/plugins/modifiercompiler.escape.php rename to lib/smarty/libs/plugins/modifiercompiler.escape.php diff --git a/smarty/libs/plugins/modifiercompiler.from_charset.php b/lib/smarty/libs/plugins/modifiercompiler.from_charset.php similarity index 100% rename from smarty/libs/plugins/modifiercompiler.from_charset.php rename to lib/smarty/libs/plugins/modifiercompiler.from_charset.php diff --git a/smarty/libs/plugins/modifiercompiler.indent.php b/lib/smarty/libs/plugins/modifiercompiler.indent.php similarity index 100% rename from smarty/libs/plugins/modifiercompiler.indent.php rename to lib/smarty/libs/plugins/modifiercompiler.indent.php diff --git a/smarty/libs/plugins/modifiercompiler.lower.php b/lib/smarty/libs/plugins/modifiercompiler.lower.php similarity index 100% rename from smarty/libs/plugins/modifiercompiler.lower.php rename to lib/smarty/libs/plugins/modifiercompiler.lower.php diff --git a/smarty/libs/plugins/modifiercompiler.noprint.php b/lib/smarty/libs/plugins/modifiercompiler.noprint.php similarity index 100% rename from smarty/libs/plugins/modifiercompiler.noprint.php rename to lib/smarty/libs/plugins/modifiercompiler.noprint.php diff --git a/smarty/libs/plugins/modifiercompiler.string_format.php b/lib/smarty/libs/plugins/modifiercompiler.string_format.php similarity index 100% rename from smarty/libs/plugins/modifiercompiler.string_format.php rename to lib/smarty/libs/plugins/modifiercompiler.string_format.php diff --git a/smarty/libs/plugins/modifiercompiler.strip.php b/lib/smarty/libs/plugins/modifiercompiler.strip.php similarity index 100% rename from smarty/libs/plugins/modifiercompiler.strip.php rename to lib/smarty/libs/plugins/modifiercompiler.strip.php diff --git a/smarty/libs/plugins/modifiercompiler.strip_tags.php b/lib/smarty/libs/plugins/modifiercompiler.strip_tags.php similarity index 100% rename from smarty/libs/plugins/modifiercompiler.strip_tags.php rename to lib/smarty/libs/plugins/modifiercompiler.strip_tags.php diff --git a/smarty/libs/plugins/modifiercompiler.to_charset.php b/lib/smarty/libs/plugins/modifiercompiler.to_charset.php similarity index 100% rename from smarty/libs/plugins/modifiercompiler.to_charset.php rename to lib/smarty/libs/plugins/modifiercompiler.to_charset.php diff --git a/smarty/libs/plugins/modifiercompiler.unescape.php b/lib/smarty/libs/plugins/modifiercompiler.unescape.php similarity index 100% rename from smarty/libs/plugins/modifiercompiler.unescape.php rename to lib/smarty/libs/plugins/modifiercompiler.unescape.php diff --git a/smarty/libs/plugins/modifiercompiler.upper.php b/lib/smarty/libs/plugins/modifiercompiler.upper.php similarity index 100% rename from smarty/libs/plugins/modifiercompiler.upper.php rename to lib/smarty/libs/plugins/modifiercompiler.upper.php diff --git a/smarty/libs/plugins/modifiercompiler.wordwrap.php b/lib/smarty/libs/plugins/modifiercompiler.wordwrap.php similarity index 100% rename from smarty/libs/plugins/modifiercompiler.wordwrap.php rename to lib/smarty/libs/plugins/modifiercompiler.wordwrap.php diff --git a/smarty/libs/plugins/outputfilter.trimwhitespace.php b/lib/smarty/libs/plugins/outputfilter.trimwhitespace.php similarity index 100% rename from smarty/libs/plugins/outputfilter.trimwhitespace.php rename to lib/smarty/libs/plugins/outputfilter.trimwhitespace.php diff --git a/smarty/libs/plugins/shared.escape_special_chars.php b/lib/smarty/libs/plugins/shared.escape_special_chars.php similarity index 100% rename from smarty/libs/plugins/shared.escape_special_chars.php rename to lib/smarty/libs/plugins/shared.escape_special_chars.php diff --git a/smarty/libs/plugins/shared.literal_compiler_param.php b/lib/smarty/libs/plugins/shared.literal_compiler_param.php similarity index 100% rename from smarty/libs/plugins/shared.literal_compiler_param.php rename to lib/smarty/libs/plugins/shared.literal_compiler_param.php diff --git a/smarty/libs/plugins/shared.make_timestamp.php b/lib/smarty/libs/plugins/shared.make_timestamp.php similarity index 100% rename from smarty/libs/plugins/shared.make_timestamp.php rename to lib/smarty/libs/plugins/shared.make_timestamp.php diff --git a/smarty/libs/plugins/shared.mb_str_replace.php b/lib/smarty/libs/plugins/shared.mb_str_replace.php similarity index 100% rename from smarty/libs/plugins/shared.mb_str_replace.php rename to lib/smarty/libs/plugins/shared.mb_str_replace.php diff --git a/smarty/libs/plugins/shared.mb_unicode.php b/lib/smarty/libs/plugins/shared.mb_unicode.php similarity index 100% rename from smarty/libs/plugins/shared.mb_unicode.php rename to lib/smarty/libs/plugins/shared.mb_unicode.php diff --git a/smarty/libs/plugins/variablefilter.htmlspecialchars.php b/lib/smarty/libs/plugins/variablefilter.htmlspecialchars.php similarity index 100% rename from smarty/libs/plugins/variablefilter.htmlspecialchars.php rename to lib/smarty/libs/plugins/variablefilter.htmlspecialchars.php diff --git a/smarty/libs/sysplugins/smarty_cacheresource.php b/lib/smarty/libs/sysplugins/smarty_cacheresource.php similarity index 100% rename from smarty/libs/sysplugins/smarty_cacheresource.php rename to lib/smarty/libs/sysplugins/smarty_cacheresource.php diff --git a/smarty/libs/sysplugins/smarty_cacheresource_custom.php b/lib/smarty/libs/sysplugins/smarty_cacheresource_custom.php similarity index 100% rename from smarty/libs/sysplugins/smarty_cacheresource_custom.php rename to lib/smarty/libs/sysplugins/smarty_cacheresource_custom.php diff --git a/smarty/libs/sysplugins/smarty_cacheresource_keyvaluestore.php b/lib/smarty/libs/sysplugins/smarty_cacheresource_keyvaluestore.php similarity index 100% rename from smarty/libs/sysplugins/smarty_cacheresource_keyvaluestore.php rename to lib/smarty/libs/sysplugins/smarty_cacheresource_keyvaluestore.php diff --git a/smarty/libs/sysplugins/smarty_data.php b/lib/smarty/libs/sysplugins/smarty_data.php similarity index 100% rename from smarty/libs/sysplugins/smarty_data.php rename to lib/smarty/libs/sysplugins/smarty_data.php diff --git a/smarty/libs/sysplugins/smarty_internal_block.php b/lib/smarty/libs/sysplugins/smarty_internal_block.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_block.php rename to lib/smarty/libs/sysplugins/smarty_internal_block.php diff --git a/smarty/libs/sysplugins/smarty_internal_cacheresource_file.php b/lib/smarty/libs/sysplugins/smarty_internal_cacheresource_file.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_cacheresource_file.php rename to lib/smarty/libs/sysplugins/smarty_internal_cacheresource_file.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_append.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_append.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_append.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_append.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_assign.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_assign.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_assign.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_assign.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_block.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_block.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_block.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_block.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_block_child.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_block_child.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_block_child.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_block_child.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_block_parent.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_block_parent.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_block_parent.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_block_parent.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_break.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_break.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_break.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_break.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_call.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_call.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_call.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_call.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_capture.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_capture.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_capture.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_capture.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_child.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_child.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_child.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_child.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_config_load.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_config_load.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_config_load.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_config_load.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_continue.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_continue.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_continue.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_continue.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_debug.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_debug.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_debug.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_debug.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_eval.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_eval.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_eval.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_eval.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_extends.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_extends.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_extends.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_extends.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_for.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_for.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_for.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_for.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_foreach.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_foreach.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_foreach.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_foreach.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_function.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_function.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_function.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_function.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_if.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_if.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_if.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_if.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_include.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_include.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_include.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_include.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_include_php.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_include_php.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_include_php.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_include_php.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_insert.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_insert.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_insert.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_insert.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_ldelim.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_ldelim.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_ldelim.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_ldelim.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_make_nocache.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_make_nocache.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_make_nocache.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_make_nocache.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_nocache.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_nocache.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_nocache.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_nocache.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_parent.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_parent.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_parent.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_parent.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_private_block_plugin.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_private_block_plugin.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_private_block_plugin.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_private_block_plugin.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_private_foreachsection.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_private_foreachsection.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_private_foreachsection.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_private_foreachsection.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_private_function_plugin.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_private_function_plugin.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_private_function_plugin.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_private_function_plugin.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_private_modifier.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_private_modifier.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_private_modifier.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_private_modifier.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_private_object_block_function.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_private_object_block_function.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_private_object_block_function.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_private_object_block_function.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_private_object_function.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_private_object_function.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_private_object_function.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_private_object_function.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_private_php.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_private_php.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_private_php.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_private_php.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_private_print_expression.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_private_print_expression.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_private_print_expression.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_private_print_expression.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_private_registered_block.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_private_registered_block.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_private_registered_block.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_private_registered_block.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_private_registered_function.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_private_registered_function.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_private_registered_function.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_private_registered_function.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_private_special_variable.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_private_special_variable.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_private_special_variable.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_private_special_variable.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_rdelim.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_rdelim.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_rdelim.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_rdelim.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_section.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_section.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_section.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_section.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_setfilter.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_setfilter.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_setfilter.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_setfilter.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_shared_inheritance.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_shared_inheritance.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_shared_inheritance.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_shared_inheritance.php diff --git a/smarty/libs/sysplugins/smarty_internal_compile_while.php b/lib/smarty/libs/sysplugins/smarty_internal_compile_while.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compile_while.php rename to lib/smarty/libs/sysplugins/smarty_internal_compile_while.php diff --git a/smarty/libs/sysplugins/smarty_internal_compilebase.php b/lib/smarty/libs/sysplugins/smarty_internal_compilebase.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_compilebase.php rename to lib/smarty/libs/sysplugins/smarty_internal_compilebase.php diff --git a/smarty/libs/sysplugins/smarty_internal_config_file_compiler.php b/lib/smarty/libs/sysplugins/smarty_internal_config_file_compiler.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_config_file_compiler.php rename to lib/smarty/libs/sysplugins/smarty_internal_config_file_compiler.php diff --git a/smarty/libs/sysplugins/smarty_internal_configfilelexer.php b/lib/smarty/libs/sysplugins/smarty_internal_configfilelexer.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_configfilelexer.php rename to lib/smarty/libs/sysplugins/smarty_internal_configfilelexer.php diff --git a/smarty/libs/sysplugins/smarty_internal_configfileparser.php b/lib/smarty/libs/sysplugins/smarty_internal_configfileparser.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_configfileparser.php rename to lib/smarty/libs/sysplugins/smarty_internal_configfileparser.php diff --git a/smarty/libs/sysplugins/smarty_internal_data.php b/lib/smarty/libs/sysplugins/smarty_internal_data.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_data.php rename to lib/smarty/libs/sysplugins/smarty_internal_data.php diff --git a/smarty/libs/sysplugins/smarty_internal_debug.php b/lib/smarty/libs/sysplugins/smarty_internal_debug.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_debug.php rename to lib/smarty/libs/sysplugins/smarty_internal_debug.php diff --git a/smarty/libs/sysplugins/smarty_internal_errorhandler.php b/lib/smarty/libs/sysplugins/smarty_internal_errorhandler.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_errorhandler.php rename to lib/smarty/libs/sysplugins/smarty_internal_errorhandler.php diff --git a/smarty/libs/sysplugins/smarty_internal_extension_handler.php b/lib/smarty/libs/sysplugins/smarty_internal_extension_handler.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_extension_handler.php rename to lib/smarty/libs/sysplugins/smarty_internal_extension_handler.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_addautoloadfilters.php b/lib/smarty/libs/sysplugins/smarty_internal_method_addautoloadfilters.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_addautoloadfilters.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_addautoloadfilters.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_adddefaultmodifiers.php b/lib/smarty/libs/sysplugins/smarty_internal_method_adddefaultmodifiers.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_adddefaultmodifiers.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_adddefaultmodifiers.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_append.php b/lib/smarty/libs/sysplugins/smarty_internal_method_append.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_append.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_append.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_appendbyref.php b/lib/smarty/libs/sysplugins/smarty_internal_method_appendbyref.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_appendbyref.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_appendbyref.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_assignbyref.php b/lib/smarty/libs/sysplugins/smarty_internal_method_assignbyref.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_assignbyref.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_assignbyref.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_assignglobal.php b/lib/smarty/libs/sysplugins/smarty_internal_method_assignglobal.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_assignglobal.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_assignglobal.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_clearallassign.php b/lib/smarty/libs/sysplugins/smarty_internal_method_clearallassign.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_clearallassign.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_clearallassign.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_clearallcache.php b/lib/smarty/libs/sysplugins/smarty_internal_method_clearallcache.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_clearallcache.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_clearallcache.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_clearassign.php b/lib/smarty/libs/sysplugins/smarty_internal_method_clearassign.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_clearassign.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_clearassign.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_clearcache.php b/lib/smarty/libs/sysplugins/smarty_internal_method_clearcache.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_clearcache.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_clearcache.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_clearcompiledtemplate.php b/lib/smarty/libs/sysplugins/smarty_internal_method_clearcompiledtemplate.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_clearcompiledtemplate.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_clearcompiledtemplate.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_clearconfig.php b/lib/smarty/libs/sysplugins/smarty_internal_method_clearconfig.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_clearconfig.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_clearconfig.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_compileallconfig.php b/lib/smarty/libs/sysplugins/smarty_internal_method_compileallconfig.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_compileallconfig.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_compileallconfig.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_compilealltemplates.php b/lib/smarty/libs/sysplugins/smarty_internal_method_compilealltemplates.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_compilealltemplates.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_compilealltemplates.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_configload.php b/lib/smarty/libs/sysplugins/smarty_internal_method_configload.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_configload.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_configload.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_createdata.php b/lib/smarty/libs/sysplugins/smarty_internal_method_createdata.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_createdata.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_createdata.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_getautoloadfilters.php b/lib/smarty/libs/sysplugins/smarty_internal_method_getautoloadfilters.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_getautoloadfilters.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_getautoloadfilters.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_getconfigvariable.php b/lib/smarty/libs/sysplugins/smarty_internal_method_getconfigvariable.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_getconfigvariable.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_getconfigvariable.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_getconfigvars.php b/lib/smarty/libs/sysplugins/smarty_internal_method_getconfigvars.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_getconfigvars.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_getconfigvars.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_getdebugtemplate.php b/lib/smarty/libs/sysplugins/smarty_internal_method_getdebugtemplate.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_getdebugtemplate.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_getdebugtemplate.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_getdefaultmodifiers.php b/lib/smarty/libs/sysplugins/smarty_internal_method_getdefaultmodifiers.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_getdefaultmodifiers.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_getdefaultmodifiers.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_getglobal.php b/lib/smarty/libs/sysplugins/smarty_internal_method_getglobal.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_getglobal.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_getglobal.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_getregisteredobject.php b/lib/smarty/libs/sysplugins/smarty_internal_method_getregisteredobject.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_getregisteredobject.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_getregisteredobject.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_getstreamvariable.php b/lib/smarty/libs/sysplugins/smarty_internal_method_getstreamvariable.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_getstreamvariable.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_getstreamvariable.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_gettags.php b/lib/smarty/libs/sysplugins/smarty_internal_method_gettags.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_gettags.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_gettags.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_gettemplatevars.php b/lib/smarty/libs/sysplugins/smarty_internal_method_gettemplatevars.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_gettemplatevars.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_gettemplatevars.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_literals.php b/lib/smarty/libs/sysplugins/smarty_internal_method_literals.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_literals.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_literals.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_loadfilter.php b/lib/smarty/libs/sysplugins/smarty_internal_method_loadfilter.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_loadfilter.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_loadfilter.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_loadplugin.php b/lib/smarty/libs/sysplugins/smarty_internal_method_loadplugin.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_loadplugin.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_loadplugin.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_mustcompile.php b/lib/smarty/libs/sysplugins/smarty_internal_method_mustcompile.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_mustcompile.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_mustcompile.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_registercacheresource.php b/lib/smarty/libs/sysplugins/smarty_internal_method_registercacheresource.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_registercacheresource.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_registercacheresource.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_registerclass.php b/lib/smarty/libs/sysplugins/smarty_internal_method_registerclass.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_registerclass.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_registerclass.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_registerdefaultconfighandler.php b/lib/smarty/libs/sysplugins/smarty_internal_method_registerdefaultconfighandler.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_registerdefaultconfighandler.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_registerdefaultconfighandler.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_registerdefaultpluginhandler.php b/lib/smarty/libs/sysplugins/smarty_internal_method_registerdefaultpluginhandler.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_registerdefaultpluginhandler.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_registerdefaultpluginhandler.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_registerdefaulttemplatehandler.php b/lib/smarty/libs/sysplugins/smarty_internal_method_registerdefaulttemplatehandler.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_registerdefaulttemplatehandler.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_registerdefaulttemplatehandler.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_registerfilter.php b/lib/smarty/libs/sysplugins/smarty_internal_method_registerfilter.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_registerfilter.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_registerfilter.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_registerobject.php b/lib/smarty/libs/sysplugins/smarty_internal_method_registerobject.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_registerobject.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_registerobject.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_registerplugin.php b/lib/smarty/libs/sysplugins/smarty_internal_method_registerplugin.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_registerplugin.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_registerplugin.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_registerresource.php b/lib/smarty/libs/sysplugins/smarty_internal_method_registerresource.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_registerresource.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_registerresource.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_setautoloadfilters.php b/lib/smarty/libs/sysplugins/smarty_internal_method_setautoloadfilters.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_setautoloadfilters.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_setautoloadfilters.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_setdebugtemplate.php b/lib/smarty/libs/sysplugins/smarty_internal_method_setdebugtemplate.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_setdebugtemplate.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_setdebugtemplate.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_setdefaultmodifiers.php b/lib/smarty/libs/sysplugins/smarty_internal_method_setdefaultmodifiers.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_setdefaultmodifiers.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_setdefaultmodifiers.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_unloadfilter.php b/lib/smarty/libs/sysplugins/smarty_internal_method_unloadfilter.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_unloadfilter.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_unloadfilter.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_unregistercacheresource.php b/lib/smarty/libs/sysplugins/smarty_internal_method_unregistercacheresource.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_unregistercacheresource.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_unregistercacheresource.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_unregisterfilter.php b/lib/smarty/libs/sysplugins/smarty_internal_method_unregisterfilter.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_unregisterfilter.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_unregisterfilter.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_unregisterobject.php b/lib/smarty/libs/sysplugins/smarty_internal_method_unregisterobject.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_unregisterobject.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_unregisterobject.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_unregisterplugin.php b/lib/smarty/libs/sysplugins/smarty_internal_method_unregisterplugin.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_unregisterplugin.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_unregisterplugin.php diff --git a/smarty/libs/sysplugins/smarty_internal_method_unregisterresource.php b/lib/smarty/libs/sysplugins/smarty_internal_method_unregisterresource.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_method_unregisterresource.php rename to lib/smarty/libs/sysplugins/smarty_internal_method_unregisterresource.php diff --git a/smarty/libs/sysplugins/smarty_internal_nocache_insert.php b/lib/smarty/libs/sysplugins/smarty_internal_nocache_insert.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_nocache_insert.php rename to lib/smarty/libs/sysplugins/smarty_internal_nocache_insert.php diff --git a/smarty/libs/sysplugins/smarty_internal_parsetree.php b/lib/smarty/libs/sysplugins/smarty_internal_parsetree.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_parsetree.php rename to lib/smarty/libs/sysplugins/smarty_internal_parsetree.php diff --git a/smarty/libs/sysplugins/smarty_internal_parsetree_code.php b/lib/smarty/libs/sysplugins/smarty_internal_parsetree_code.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_parsetree_code.php rename to lib/smarty/libs/sysplugins/smarty_internal_parsetree_code.php diff --git a/smarty/libs/sysplugins/smarty_internal_parsetree_dq.php b/lib/smarty/libs/sysplugins/smarty_internal_parsetree_dq.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_parsetree_dq.php rename to lib/smarty/libs/sysplugins/smarty_internal_parsetree_dq.php diff --git a/smarty/libs/sysplugins/smarty_internal_parsetree_dqcontent.php b/lib/smarty/libs/sysplugins/smarty_internal_parsetree_dqcontent.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_parsetree_dqcontent.php rename to lib/smarty/libs/sysplugins/smarty_internal_parsetree_dqcontent.php diff --git a/smarty/libs/sysplugins/smarty_internal_parsetree_tag.php b/lib/smarty/libs/sysplugins/smarty_internal_parsetree_tag.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_parsetree_tag.php rename to lib/smarty/libs/sysplugins/smarty_internal_parsetree_tag.php diff --git a/smarty/libs/sysplugins/smarty_internal_parsetree_template.php b/lib/smarty/libs/sysplugins/smarty_internal_parsetree_template.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_parsetree_template.php rename to lib/smarty/libs/sysplugins/smarty_internal_parsetree_template.php diff --git a/smarty/libs/sysplugins/smarty_internal_parsetree_text.php b/lib/smarty/libs/sysplugins/smarty_internal_parsetree_text.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_parsetree_text.php rename to lib/smarty/libs/sysplugins/smarty_internal_parsetree_text.php diff --git a/smarty/libs/sysplugins/smarty_internal_resource_eval.php b/lib/smarty/libs/sysplugins/smarty_internal_resource_eval.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_resource_eval.php rename to lib/smarty/libs/sysplugins/smarty_internal_resource_eval.php diff --git a/smarty/libs/sysplugins/smarty_internal_resource_extends.php b/lib/smarty/libs/sysplugins/smarty_internal_resource_extends.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_resource_extends.php rename to lib/smarty/libs/sysplugins/smarty_internal_resource_extends.php diff --git a/smarty/libs/sysplugins/smarty_internal_resource_file.php b/lib/smarty/libs/sysplugins/smarty_internal_resource_file.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_resource_file.php rename to lib/smarty/libs/sysplugins/smarty_internal_resource_file.php diff --git a/smarty/libs/sysplugins/smarty_internal_resource_php.php b/lib/smarty/libs/sysplugins/smarty_internal_resource_php.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_resource_php.php rename to lib/smarty/libs/sysplugins/smarty_internal_resource_php.php diff --git a/smarty/libs/sysplugins/smarty_internal_resource_registered.php b/lib/smarty/libs/sysplugins/smarty_internal_resource_registered.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_resource_registered.php rename to lib/smarty/libs/sysplugins/smarty_internal_resource_registered.php diff --git a/smarty/libs/sysplugins/smarty_internal_resource_stream.php b/lib/smarty/libs/sysplugins/smarty_internal_resource_stream.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_resource_stream.php rename to lib/smarty/libs/sysplugins/smarty_internal_resource_stream.php diff --git a/smarty/libs/sysplugins/smarty_internal_resource_string.php b/lib/smarty/libs/sysplugins/smarty_internal_resource_string.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_resource_string.php rename to lib/smarty/libs/sysplugins/smarty_internal_resource_string.php diff --git a/smarty/libs/sysplugins/smarty_internal_runtime_cachemodify.php b/lib/smarty/libs/sysplugins/smarty_internal_runtime_cachemodify.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_runtime_cachemodify.php rename to lib/smarty/libs/sysplugins/smarty_internal_runtime_cachemodify.php diff --git a/smarty/libs/sysplugins/smarty_internal_runtime_cacheresourcefile.php b/lib/smarty/libs/sysplugins/smarty_internal_runtime_cacheresourcefile.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_runtime_cacheresourcefile.php rename to lib/smarty/libs/sysplugins/smarty_internal_runtime_cacheresourcefile.php diff --git a/smarty/libs/sysplugins/smarty_internal_runtime_capture.php b/lib/smarty/libs/sysplugins/smarty_internal_runtime_capture.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_runtime_capture.php rename to lib/smarty/libs/sysplugins/smarty_internal_runtime_capture.php diff --git a/smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php b/lib/smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php rename to lib/smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php diff --git a/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php b/lib/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php rename to lib/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php diff --git a/smarty/libs/sysplugins/smarty_internal_runtime_foreach.php b/lib/smarty/libs/sysplugins/smarty_internal_runtime_foreach.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_runtime_foreach.php rename to lib/smarty/libs/sysplugins/smarty_internal_runtime_foreach.php diff --git a/smarty/libs/sysplugins/smarty_internal_runtime_getincludepath.php b/lib/smarty/libs/sysplugins/smarty_internal_runtime_getincludepath.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_runtime_getincludepath.php rename to lib/smarty/libs/sysplugins/smarty_internal_runtime_getincludepath.php diff --git a/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php b/lib/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php rename to lib/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php diff --git a/smarty/libs/sysplugins/smarty_internal_runtime_make_nocache.php b/lib/smarty/libs/sysplugins/smarty_internal_runtime_make_nocache.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_runtime_make_nocache.php rename to lib/smarty/libs/sysplugins/smarty_internal_runtime_make_nocache.php diff --git a/smarty/libs/sysplugins/smarty_internal_runtime_tplfunction.php b/lib/smarty/libs/sysplugins/smarty_internal_runtime_tplfunction.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_runtime_tplfunction.php rename to lib/smarty/libs/sysplugins/smarty_internal_runtime_tplfunction.php diff --git a/smarty/libs/sysplugins/smarty_internal_runtime_updatecache.php b/lib/smarty/libs/sysplugins/smarty_internal_runtime_updatecache.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_runtime_updatecache.php rename to lib/smarty/libs/sysplugins/smarty_internal_runtime_updatecache.php diff --git a/smarty/libs/sysplugins/smarty_internal_runtime_updatescope.php b/lib/smarty/libs/sysplugins/smarty_internal_runtime_updatescope.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_runtime_updatescope.php rename to lib/smarty/libs/sysplugins/smarty_internal_runtime_updatescope.php diff --git a/smarty/libs/sysplugins/smarty_internal_runtime_writefile.php b/lib/smarty/libs/sysplugins/smarty_internal_runtime_writefile.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_runtime_writefile.php rename to lib/smarty/libs/sysplugins/smarty_internal_runtime_writefile.php diff --git a/smarty/libs/sysplugins/smarty_internal_smartytemplatecompiler.php b/lib/smarty/libs/sysplugins/smarty_internal_smartytemplatecompiler.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_smartytemplatecompiler.php rename to lib/smarty/libs/sysplugins/smarty_internal_smartytemplatecompiler.php diff --git a/smarty/libs/sysplugins/smarty_internal_template.php b/lib/smarty/libs/sysplugins/smarty_internal_template.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_template.php rename to lib/smarty/libs/sysplugins/smarty_internal_template.php diff --git a/smarty/libs/sysplugins/smarty_internal_templatebase.php b/lib/smarty/libs/sysplugins/smarty_internal_templatebase.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_templatebase.php rename to lib/smarty/libs/sysplugins/smarty_internal_templatebase.php diff --git a/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php b/lib/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php rename to lib/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php diff --git a/smarty/libs/sysplugins/smarty_internal_templatelexer.php b/lib/smarty/libs/sysplugins/smarty_internal_templatelexer.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_templatelexer.php rename to lib/smarty/libs/sysplugins/smarty_internal_templatelexer.php diff --git a/smarty/libs/sysplugins/smarty_internal_templateparser.php b/lib/smarty/libs/sysplugins/smarty_internal_templateparser.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_templateparser.php rename to lib/smarty/libs/sysplugins/smarty_internal_templateparser.php diff --git a/smarty/libs/sysplugins/smarty_internal_testinstall.php b/lib/smarty/libs/sysplugins/smarty_internal_testinstall.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_testinstall.php rename to lib/smarty/libs/sysplugins/smarty_internal_testinstall.php diff --git a/smarty/libs/sysplugins/smarty_internal_undefined.php b/lib/smarty/libs/sysplugins/smarty_internal_undefined.php similarity index 100% rename from smarty/libs/sysplugins/smarty_internal_undefined.php rename to lib/smarty/libs/sysplugins/smarty_internal_undefined.php diff --git a/smarty/libs/sysplugins/smarty_resource.php b/lib/smarty/libs/sysplugins/smarty_resource.php similarity index 100% rename from smarty/libs/sysplugins/smarty_resource.php rename to lib/smarty/libs/sysplugins/smarty_resource.php diff --git a/smarty/libs/sysplugins/smarty_resource_custom.php b/lib/smarty/libs/sysplugins/smarty_resource_custom.php similarity index 100% rename from smarty/libs/sysplugins/smarty_resource_custom.php rename to lib/smarty/libs/sysplugins/smarty_resource_custom.php diff --git a/smarty/libs/sysplugins/smarty_resource_recompiled.php b/lib/smarty/libs/sysplugins/smarty_resource_recompiled.php similarity index 100% rename from smarty/libs/sysplugins/smarty_resource_recompiled.php rename to lib/smarty/libs/sysplugins/smarty_resource_recompiled.php diff --git a/smarty/libs/sysplugins/smarty_resource_uncompiled.php b/lib/smarty/libs/sysplugins/smarty_resource_uncompiled.php similarity index 100% rename from smarty/libs/sysplugins/smarty_resource_uncompiled.php rename to lib/smarty/libs/sysplugins/smarty_resource_uncompiled.php diff --git a/smarty/libs/sysplugins/smarty_security.php b/lib/smarty/libs/sysplugins/smarty_security.php similarity index 100% rename from smarty/libs/sysplugins/smarty_security.php rename to lib/smarty/libs/sysplugins/smarty_security.php diff --git a/smarty/libs/sysplugins/smarty_template_cached.php b/lib/smarty/libs/sysplugins/smarty_template_cached.php similarity index 100% rename from smarty/libs/sysplugins/smarty_template_cached.php rename to lib/smarty/libs/sysplugins/smarty_template_cached.php diff --git a/smarty/libs/sysplugins/smarty_template_compiled.php b/lib/smarty/libs/sysplugins/smarty_template_compiled.php similarity index 100% rename from smarty/libs/sysplugins/smarty_template_compiled.php rename to lib/smarty/libs/sysplugins/smarty_template_compiled.php diff --git a/smarty/libs/sysplugins/smarty_template_config.php b/lib/smarty/libs/sysplugins/smarty_template_config.php similarity index 100% rename from smarty/libs/sysplugins/smarty_template_config.php rename to lib/smarty/libs/sysplugins/smarty_template_config.php diff --git a/smarty/libs/sysplugins/smarty_template_resource_base.php b/lib/smarty/libs/sysplugins/smarty_template_resource_base.php similarity index 100% rename from smarty/libs/sysplugins/smarty_template_resource_base.php rename to lib/smarty/libs/sysplugins/smarty_template_resource_base.php diff --git a/smarty/libs/sysplugins/smarty_template_source.php b/lib/smarty/libs/sysplugins/smarty_template_source.php similarity index 100% rename from smarty/libs/sysplugins/smarty_template_source.php rename to lib/smarty/libs/sysplugins/smarty_template_source.php diff --git a/smarty/libs/sysplugins/smarty_undefined_variable.php b/lib/smarty/libs/sysplugins/smarty_undefined_variable.php similarity index 100% rename from smarty/libs/sysplugins/smarty_undefined_variable.php rename to lib/smarty/libs/sysplugins/smarty_undefined_variable.php diff --git a/smarty/libs/sysplugins/smarty_variable.php b/lib/smarty/libs/sysplugins/smarty_variable.php similarity index 100% rename from smarty/libs/sysplugins/smarty_variable.php rename to lib/smarty/libs/sysplugins/smarty_variable.php diff --git a/smarty/libs/sysplugins/smartycompilerexception.php b/lib/smarty/libs/sysplugins/smartycompilerexception.php similarity index 100% rename from smarty/libs/sysplugins/smartycompilerexception.php rename to lib/smarty/libs/sysplugins/smartycompilerexception.php diff --git a/smarty/libs/sysplugins/smartyexception.php b/lib/smarty/libs/sysplugins/smartyexception.php similarity index 100% rename from smarty/libs/sysplugins/smartyexception.php rename to lib/smarty/libs/sysplugins/smartyexception.php diff --git a/smarty/smarty_version b/lib/smarty/smarty_version similarity index 100% rename from smarty/smarty_version rename to lib/smarty/smarty_version