mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-28 02:41:37 +01:00
- renamed function names of autoloaded Smarty methods to Smarty_Method_....
- new security_class property (default is Smarty_Security)
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
* @param string $varname variable name or null
|
||||
* @return string variable value or or array of variables
|
||||
*/
|
||||
function get_global($smarty, $varname = null)
|
||||
function Smarty_Method_Get_Global($smarty, $varname = null)
|
||||
{
|
||||
if (isset($varname)) {
|
||||
if (isset($smarty->global_tpl_vars[$varname])) {
|
||||
|
||||
Reference in New Issue
Block a user