fix: composer 준비 전에도 j_install_status가 응답해야함

This commit is contained in:
2022-03-13 21:03:39 +09:00
parent 96caef8f43
commit 27a00b339b
+5
View File
@@ -2,6 +2,11 @@
namespace sammo;
if(!file_exists(__DIR__ . '/../vendor/autoload.php')){
http_response_code(503);
die('not_ready');
}
require(__DIR__ . '/../vendor/autoload.php');
if (!class_exists('\\sammo\\RootDB')) {