所有路径引用用绝对路径!
 $path//设置各个目录的路径,这里是安装的重点 
$smarty->template_dir$smarty->compile_dir 
$smarty->config_dir = "绝对路径"; 
$smarty->cache_dir