fix: 초기 index.php에서 vendor/autoload.php 검사
This commit is contained in:
@@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
namespace sammo;
|
namespace sammo;
|
||||||
|
|
||||||
|
if (!file_exists(__DIR__ . '/vendor/autoload.php')){
|
||||||
|
header('Location:install.php');
|
||||||
|
die();
|
||||||
|
}
|
||||||
require(__DIR__ . '/vendor/autoload.php');
|
require(__DIR__ . '/vendor/autoload.php');
|
||||||
|
|
||||||
if (!class_exists('\\sammo\\RootDB')) {
|
if (!class_exists('\\sammo\\RootDB')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user