3.2.3路由问题,提示非法操作!

浏览:9402 发布日期:2015/07/23 分类:求助交流 关键字: 3.2.3 URL 路由 非法操作

http://localhost/tp_test/是我的本地地址,
就算访问http://localhost/tp_test/Home/tag还是提示同样的错误。。。
如果访问http://localhost/tp_test/View/tags或者http://localhost/tp_test/Home/View/tags则可以正常显示
下面是我的Home模块下的配置<?php
return array(

    'URL_ROUTER_ON'   => true,
    'URL_MAP_RULES'=>array(
        'tag'=>'View/tags',
    ),

);
下面是公共配置:<?php
return array(
    'DB_TYPE'=>'mysql',
    'DB_HOST'=>'localhost',
    'DB_USER'=>'root',
    'DB_PWD'=>'秘密',
    'DB_NAME'=>'php_test',
    'DB_PORT'=>3306,
    'DB_PREFIX'=>'',

    'SHOW_PAGE_TRACE'=>true,

    'MODULE_ALLOW_LIST'=>array('Home','Admin'),
    'DEFAULT_MODULE'=>'Home',
);
为什么会报错,提示非法操作?
最佳答案
评论( 相关
后面还有条评论,点击查看>>