fix: 초기 index.php에서 vendor/autoload.php 검사
This commit is contained in:
1 parent
db846c9bc2
commit
ba88642ab8
1 file changed
+4
@@ -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