From d598c120aedf6a15617966b296de84860135f03c Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 10 Apr 2019 12:50:48 +0200 Subject: [PATCH] Remove installation files --- public/index.php | 10 +------- public/install-frameworkmissing.html | 34 ---------------------------- public/install.php | 18 --------------- 3 files changed, 1 insertion(+), 61 deletions(-) delete mode 100644 public/install-frameworkmissing.html delete mode 100644 public/install.php 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 - - -
-
- - - -
- -
-
-

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.

-
-
-
-
- - -
- - diff --git a/public/install.php b/public/install.php deleted file mode 100644 index 6cfeca8..0000000 --- a/public/install.php +++ /dev/null @@ -1,18 +0,0 @@ -