Update SmartyEngine.php

fixed can not set smarty global property variables, for example, left_demiliter/force_caching and so on.