Smary模板引擎單獨(dú)引入的時(shí)候沒(méi)問(wèn)題,我在我的項(xiàng)目使用了spl_autoload_register()方法,require_once引進(jìn)smarty.class.php后,下面在這個(gè)文件里引入的文件就會(huì)報(bào)錯(cuò),比如說(shuō)smartyException.php not fund去了spl_autoload_register()后沒(méi)問(wèn)題,但是我的項(xiàng)目要用這個(gè)自動(dòng)加載器,又需要smarty,但是smarty不給力,求解決辦法
Smary模板引擎單獨(dú)引入的時(shí)候沒(méi)問(wèn)題,項(xiàng)目中注冊(cè)spl_autoload_register()后出問(wèn)題
萬(wàn)丈高樓平地起
2016-03-25 20:12:14