diff --git a/upgrade.md b/upgrade.md index cac98312..8e4cafbc 100644 --- a/upgrade.md +++ b/upgrade.md @@ -7,14 +7,13 @@ ## Upgrading From 4.0 to 4.1 - Replace `public/index.php`, `artisan.php`. - Add new `expire_on_close` option to `session` configuration file. - Remove call to `redirectIfTrailingSlash` in `bootstrap/start.php` file. -- Edit `app/config/app.php`; in `aliases` change `'Controller' => 'Illuminate\Routing\Controllers\Controller',` - to use `Illuminate\Routing\Controller` -- Edit `app/controllers/BaseController.php` change `use Illuminate\Routing\Controllers\Controller;` to `use Illuminate\Routing\Controller; -` -- Edit `app/config/app.php`; in `providers` add `'Illuminate\Remote\RemoteServiceProvider',` -- Edit `app/config/app.php`; in `aliases` add `'SSH' => 'Illuminate\Support\Facades\SSH',` - +- Edit `app/config/app.php`; + - in `aliases` change `'Controller' => 'Illuminate\Routing\Controllers\Controller',` + to use `Illuminate\Routing\Controller`. + - in `providers` add `'Illuminate\Remote\RemoteServiceProvider',`. + - in `aliases` add `'SSH' => 'Illuminate\Support\Facades\SSH',`. +- Edit `app/controllers/BaseController.php` change `use Illuminate\Routing\Controllers\Controller;` to `use Illuminate\Routing\Controller;`. - If you are overriding `missingMethod` in your controllers, add $method as the first parameter. - Password reminder system tweaked for greater developer freedom. Inspect stub controller by running `auth:reminders-controller` Artisan command. - Update `reminders.php` language file. -- If you are using http hosts to set the $env variable in bootstrap/start.php, these should be changed to machine names (as returned by PHP's gethostname() function). \ No newline at end of file +- If you are using http hosts to set the $env variable in bootstrap/start.php, these should be changed to machine names (as returned by PHP's gethostname() function).