From 5fe9136aa1313e66e4559e332da8694d9080dc85 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sun, 13 Mar 2022 19:06:31 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=B4=88=EA=B8=B0=20index.php=EC=97=90?= =?UTF-8?q?=EC=84=9C=20vendor/autoload.php=20=EA=B2=80=EC=82=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.php b/index.php index 0a98916e..1276ea3c 100644 --- a/index.php +++ b/index.php @@ -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')) {