mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-07 08:45:37 +08:00
initial 2.0.0-a2 commit
This commit is contained in:
@@ -6,6 +6,7 @@ namespace ZM\Http;
|
||||
|
||||
use ZM\Console\Console;
|
||||
use Framework\ZMBuf;
|
||||
use ZM\Utils\HttpUtil;
|
||||
use ZM\Utils\ZMUtil;
|
||||
|
||||
class StaticFileHandler
|
||||
@@ -29,7 +30,7 @@ class StaticFileHandler
|
||||
}
|
||||
}
|
||||
$response->status(404);
|
||||
$response->end(ZMUtil::getHttpCodePage(404));
|
||||
$response->end(HttpUtil::getHttpCodePage(404));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user