Add initialize setting about smarty.