访问不存在的跳转方法

浏览:2940 发布日期:2013/07/05 分类:用法示例
用于用户访问不存在页面时的跳转
创建页面Lib/Action/EmptyAction.class.php<?php
class EmptyAction extends Action{ 
    function _empty(){ 
        $this->error('您访问的页面不存在!','__GROUP__/index.html');
    } 
评论( 相关
后面还有条评论,点击查看>>