change smarty dir