diff --git a/public/index.php b/public/index.php index bd24b7a..6ddcc98 100644 --- a/public/index.php +++ b/public/index.php @@ -6,15 +6,7 @@ use SilverStripe\Core\CoreKernel; use SilverStripe\Core\Startup\ErrorControlChainMiddleware; // Find autoload.php -if (file_exists(__DIR__ . '/../vendor/autoload.php')) { - require __DIR__ . '/../vendor/autoload.php'; -} elseif (file_exists(__DIR__ . '/vendor/autoload.php')) { - require __DIR__ . '/vendor/autoload.php'; -} else { - header('HTTP/1.1 500 Internal Server Error'); - echo "autoload.php not found"; - exit(1); -} +require __DIR__ . '/../vendor/autoload.php'; // Build request and detect flush $request = HTTPRequestBuilder::createFromEnvironment(); diff --git a/public/install-frameworkmissing.html b/public/install-frameworkmissing.html deleted file mode 100644 index 08f02c8..0000000 --- a/public/install-frameworkmissing.html +++ /dev/null @@ -1,34 +0,0 @@ - -
-The SilverStripe Framework is missing - To run the installer, at least the framework module is required.
- -If you downloaded a pre-packaged zip or tar.gz, something might have gone wrong with the packaging - process. Please try re-downloading, or try an older version.
- -If you downloaded this from GitHub, you need to install the framework module. You can do this manually, or by running the tools/new-project script from the command line.
-