#1 phpcaicai
加了个constructfunction __construct(){
$articleObj = spClass("lib_article");
}
Fatal error: Call to a member function getView() on a non-object in D:\wamp\www\fzxa\SpeedPHP\Core\spController.php on line 84
因为$articleObj 在很多控制器里都用到,所以想在这里写,为什么会报错??
PS:我开启了自动模板输出功能
'auto_display' => TRUE
2010-06-04 00:17:36