diff options
author | Andrey Andreev <narf@devilix.net> | 2016-03-12 19:01:57 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2016-03-12 19:01:57 +0100 |
commit | 2961883c06ba963a67a68c34ef90a57ff5c38646 (patch) | |
tree | 355abcd43e57c82915a4fd267a89a0bfeafe19af /user_guide_src/source | |
parent | 4f555079a6d85abd11403c72b9dbaa8823dc2e6d (diff) |
[ci skip] Update the index.php file
- Use DIRECTORY_SEPARATOR instead of a hard-coded forward-slash
- Use more proper terminology in comment descriptions
- Small tweaks to directory detection logic
Diffstat (limited to 'user_guide_src/source')
-rw-r--r-- | user_guide_src/source/installation/upgrade_306.rst | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/user_guide_src/source/installation/upgrade_306.rst b/user_guide_src/source/installation/upgrade_306.rst index f6d2f13d4..3863e0afa 100644 --- a/user_guide_src/source/installation/upgrade_306.rst +++ b/user_guide_src/source/installation/upgrade_306.rst @@ -13,7 +13,22 @@ Replace all files and directories in your *system/* directory. .. note:: If you have any custom developed files in these directories, please make copies of them first. -Step 2: Remove 'prep_for_form' usage (deprecation) +Step 2: Update your index.php file (optional) +============================================= + +We've made some tweaks to the index.php file, mostly related to proper +usage of directory separators (i.e. use the ``DIRECTORY_SEPARATOR`` +constant instead of a hard coded forward slash "/"). + +Nothing will break if you skip this step, but if you're running Windows +or just want to be up to date with every change - we do recommend that +you update your index.php file. + +*Tip: Just copy the ``ENVIRONMENT``, ``$system_path``, ``$application_folder`` +and ``$view_folder`` declarations from the old file and put them into the +new one, replacing the defaults.* + +Step 3: Remove 'prep_for_form' usage (deprecation) ================================================== The :doc:`Form Validation Library <../libraries/form_validation>` has a |