Upgrading from 3.1.2 to 3.1.3¶
Before performing an update you should take your site offline by replacing the index.php file with a static one.
Step 1: Update your CodeIgniter files¶
Replace all files and directories in your system/ directory.
If you have any custom developed files in these directories, please make copies of them first.
Step 2: Remove usage of nice_date() helper (deprecation)¶
The Date Helper function
no longer useful since the introduction of PHP’s DateTime classes
You can replace it with the following:
nice_date() is now deprecated and scheduled for removal in
The function is still available, but you’re strongly encouraged to remove its usage sooner rather than later.
Step 3: Remove usage of $config[‘standardize_newlines’]¶
The Input Library would optionally replace
occurrences of rn, r, n in input data with whatever the
value is on your system - if you’ve set
TRUE in your application/config/config.php.
This functionality is now deprecated and scheduled for removal in CodeIgniter 3.2.+.
The functionality is still available, but you’re strongly encouraged to remove its usage sooner rather than later.