initial 2.0.0-a2 commit

This commit is contained in:
jerry
2020-09-29 15:07:43 +08:00
parent 1510e2f0d0
commit f91d24aaaa
59 changed files with 2271 additions and 1475 deletions

View File

@@ -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;
}
}