实际的路径是经过编译后在templates_c目录下,所有加载时,必须 ../templates/index.html
因为之前smarty的模板路径不是都配好了
因为你调用了$smarty模板,他自己就默认已经在smarty目录下了,所以就不用再次包含了