<?php
namespace Home\Controller;
use Think\Controller;
class EmptyController extends Controller {
function _empty(){
header( " HTTP/1.0 404 Not Found" );
$this->display( 'Public:404' );
}
function index(){
header( " HTTP/1.0 404 Not Found" );
$this->display( 'Public:404' );
}
}
?>
注:引入命名空间
上一篇: PHP获取时间戳的毫秒...
下一篇: php常见函数...