Docs on 4.1 index.php autoloading

This commit is contained in:
Ingo Schommer 2018-03-26 08:38:25 +13:00 committed by GitHub
parent da18412df4
commit eda65e2089
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,7 @@ When separating the public webroot from the BASE_PATH it is necessary to move a
- Move `.htaccess` from base to `public/`
- Move `index.php` from base to `public/`
- If upgrading from 4.0, replace the file the [index.php](https://github.com/silverstripe/recipe-core/blob/1.1/public/index.php) from `recipe-core` in order to fix autoloading paths
- Move `assets` folder (including the nested `assets/.protected` folder) into `public/`.
This is the only folder which needs write permissions.
- Ensure that the `public/resources` folder exists; If this folder already exists in root, you should