From 823bc3b9ce3f26c5d16fd77e73bc757db93a9f00 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 10 Oct 2017 10:26:11 +0200 Subject: [PATCH] Simplified upgrading docs around index.php No need to paste the file there if we're auto upgrading it. The guide is long enough already :) --- docs/en/04_Changelogs/4.0.0.md | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/docs/en/04_Changelogs/4.0.0.md b/docs/en/04_Changelogs/4.0.0.md index 43eea3d5e..3a4c41bf7 100644 --- a/docs/en/04_Changelogs/4.0.0.md +++ b/docs/en/04_Changelogs/4.0.0.md @@ -99,29 +99,6 @@ cd ~/Project/Root This will ensure that your `.htaccess` and `index.php` are set to a reasonable default value for a clean installation. -After upgrade the `index.php` should look something similar to the below: - -```php -addMiddleware(new ErrorControlChainMiddleware($app)); -$response = $app->handle($request); -$response->output(); -``` - #### Upgrade references to renamed and namespaced classes Nearly all core PHP classes have been namespaced. For example, `DataObject` is now called `SilverStripe\ORM\DataObject`.