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')) {