diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 0b5c50b5..7b7e6d53 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -584,7 +584,7 @@ class Smarty function Smarty() { $this->assign('SCRIPT_NAME', isset($_SERVER['SCRIPT_NAME']) ? $_SERVER['SCRIPT_NAME'] - : @$GLOBALS['HTTP_SERVER_VARS']['SCRIPT_NAME']); + : @$GLOBALS['HTTP_SERVER_VARS']['SCRIPT_NAME']); } /**