Update UPGRADE.md

This commit is contained in:
Anton Medvedev 2016-11-05 16:43:41 +07:00
parent b2ef2df6a1
commit 356ca33ff0

View File

@ -1,17 +1,22 @@
# Upgrade from 3.x to 4.x
1.
# Upgrade from 2.x to 3.x
1. ### `->path('...')`
Replace your server paths configuration:
```php
server(...)
->path(...);
```
to:
```php
server(...)
->env('deploy_path', '...');
```
1. ### `->path('...')`
Replace your server paths configuration:
```php
server(...)
->path(...);
```
to:
```php
server(...)
->env('deploy_path', '...');
```