fix: 초기 index.php에서 vendor/autoload.php 검사

This commit is contained in:
2022-03-13 19:06:31 +09:00
parent 3ef91d3617
commit 5fe9136aa1
+4
View File
@@ -2,6 +2,10 @@
namespace sammo;
if (!file_exists(__DIR__ . '/vendor/autoload.php')){
header('Location:install.php');
die();
}
require(__DIR__ . '/vendor/autoload.php');
if (!class_exists('\\sammo\\RootDB')) {