<?php
class EmptyAction extends Action{
function _empty(){
header('HTTP/1.1 404 Not Found');
header("status: 404 Not Found");
$this->display("Public:404");
}
function index(){
header('HTTP/1.1 404 Not Found');
header("status: 404 Not Found");
$this->display("Public:404");
}
}
?>已经做了相应的设置了,但返回代码依然是200。。哪里弄错了? 最佳答案