From 788b00f7eaad969120079acedc82e8d60b0e2a46 Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Fri, 27 Nov 2009 18:00:20 +0000 Subject: non-backwards compatible change to get_dir_file_info() for performance reasons, as well as fixing recursive bug --- user_guide/installation/upgrade_173.html | 106 +++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 user_guide/installation/upgrade_173.html (limited to 'user_guide/installation') diff --git a/user_guide/installation/upgrade_173.html b/user_guide/installation/upgrade_173.html new file mode 100644 index 000000000..d395c1fd6 --- /dev/null +++ b/user_guide/installation/upgrade_173.html @@ -0,0 +1,106 @@ + + + + + +Upgrading from 1.7.2 to 1.7.3 : CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +

CodeIgniter User Guide Version 1.7.2

+
+ + + + + + + + + +
+ + +
+ + + +
+ +

Upgrading from 1.7.2 to 1.7.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 these files and directories in your "system" folder with the new versions:

+ + + +

Note: If you have any custom developed files in these folders please make copies of them first.

+ +

Step 2: Adjust get_dir_file_info() where necessary

+ +

Version 1.7.3 brings a non-backwards compatible change to get_dir_file_info() in the File Helper. Non-backwards compatible changes are extremely rare + in CodeIgniter, but this one we feel was warranted due to how easy it was to create serious server performance issues. If you need + recursiveness where you are using this helper function, change such instances, setting the second parameter, $top_level_only to FALSE:

+ +get_dir_file_info('/path/to/directory', FALSE); + +

Step 3: Update your user guide

+

Please replace your local copy of the user guide with the new version, including the image files.

+ +
+ + + + + + + \ No newline at end of file -- cgit v1.2.3-24-g4f1b