smarty路径配置问题 问题很细,期待高手。

2025-03-05 07:17:31
推荐回答(1个)
回答1:

config.php
define('base_path','C:/AppServer/www/');
改成
define('base_path','C:/AppServ/www/');

require_once(smarty_path.'Smarty.cl0ass.php');
改成
require_once(smarty_path.'Smarty.class.php');
以后注意认真些,我也经常犯这种错误:)