[已解决]添加控制器,显示系统发生错误

浏览:839 发布日期:2014/01/30 分类:求助交流
照着例子在Application\Home下增加UserController.class.php文件.
namespace Home\Controller;
use Think\Controller;
class UserController extends Controller {
public function index(){
$this->display();
}
}

浏览器访问index.php/User/index 提示系统发生错误
Namespace declaration statement has to be the very first statement in the script
最佳答案
评论( 相关
后面还有条评论,点击查看>>