From 8863159339b73b7abd7d3f148dc0ad862994be07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Thu, 3 Jan 2019 16:04:52 -0500 Subject: first commit --- .../smarty_internal_method_assignglobal.php | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 smarty/libs/sysplugins/smarty_internal_method_assignglobal.php (limited to 'smarty/libs/sysplugins/smarty_internal_method_assignglobal.php') diff --git a/smarty/libs/sysplugins/smarty_internal_method_assignglobal.php b/smarty/libs/sysplugins/smarty_internal_method_assignglobal.php new file mode 100644 index 0000000..aae3ed7 --- /dev/null +++ b/smarty/libs/sysplugins/smarty_internal_method_assignglobal.php @@ -0,0 +1,43 @@ +_objType == 2) { + $ptr->tpl_vars[ $varName ] = clone Smarty::$global_tpl_vars[ $varName ]; + $ptr = $ptr->parent; + } + } + return $data; + } +} \ No newline at end of file -- cgit v1.2.3