From f092fdffe24a65ae03b88a9596fe9e596e0ec788 Mon Sep 17 00:00:00 2001
From: Greg Aker Replace all files and directories in your "system" folder and replace your index.php file. If any modifications were made to your index.php they will need to be made fresh in this new one. Note: If you have any custom developed files in these folders please make copies of them first. Replace the files and directories in your "system" folder with the new versions: If you are running a stock index.php file simply replace your version with the new one. If your index.php file has internal modifications, please add your modifications to the new file and use it. This config file has been updated to contain more user agent types, please copy it to application/config/user_agents.php. Note: The EXT Constant has been marked as deprecated, but has not been removed from the application. You are encouraged to make the changes sooner rather than later. Open application/autoload.php, and look for the following:Step 2: Update CodeIgniter files
-
-Step 3: Update your main index.php file
+Step 2: Update your main index.php file
Step 4: Replace config/user_agents.php
+Step 3: Replace config/user_agents.php
Step 5: Change references of the EXT constant to ".php"
+Step 4: Change references of the EXT constant to ".php"
Step 6: Remove APPPATH.'third_party' from autoload.php
+Step 5: Remove APPPATH.'third_party' from autoload.php
For the best security, both the system and any application folders should be placed above web root so that they are not directly accessible via a browser. By default, .htaccess files are included in each folder to help prevent direct access, but it is best to remove them from public access entirely in case the web server configuration changes or doesn't abide by the .htaccess.
-After moving them, open your main
If you would like to keep your views public it is also possible to move the views folder out of your application folder.
+ +After moving them, open your main
One additional measure to take in production environments is to disable
--
cgit v1.2.3-24-g4f1b
From c51a435968eda164dc5d055ff9ec15918a6f56ab Mon Sep 17 00:00:00 2001
From: Bo-Yi Wu Open application/autoload.php, and look for the following: Open application/config/autoload.php, and look for the following:Step 5: Remove APPPATH.'third_party' from autoload.php
-$autoload['packages'] = array(APPPATH.'third_party');
--
cgit v1.2.3-24-g4f1b