syntax error, unexpected T_NS_SEPARATOR,

浏览:2564 发布日期:2015/08/22 分类:求助交流
syntax error, unexpected T_NS_SEPARATOR, expecting '{'
错误位置
FILE: D:\WWW\App\Home\Controller\baseController.class.php  LINE: 5

提示我第5行错误,下面是部分代码,这个问题是出在哪里呢?<?php

namespace Home\Controller;

class Controller\BaseController extends Think\Controller
{
    protected function _initialize()
    {
        $this->checkPermit();
    }

    protected function success($url = "", $tip = "", $second = 3, $type = 0)
    {
        $url = home\controller\htmlspecialchars_decode($url);

        if (empty($tip)) {
            home\controller\header("Location:" . $url);
        }
        else i
最佳答案
评论( 相关
后面还有条评论,点击查看>>