fixed can not set smarty instance public members

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