Messy code of Chinese in MySQL

Fixed directory configurations bug of smarty