From fe9ac9416afb8281b6605d3e4097c2159d488aef Mon Sep 17 00:00:00 2001 From: Pascal Kriete Date: Thu, 7 Apr 2011 12:15:09 -0400 Subject: And now properly prepped for 2.0.2, sigh --- user_guide/installation/upgrade_202.html | 95 ++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 user_guide/installation/upgrade_202.html (limited to 'user_guide/installation/upgrade_202.html') diff --git a/user_guide/installation/upgrade_202.html b/user_guide/installation/upgrade_202.html new file mode 100644 index 000000000..e6273f53c --- /dev/null +++ b/user_guide/installation/upgrade_202.html @@ -0,0 +1,95 @@ + + + + + +Upgrading from 2.0.1 to 2.0.2 : CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +

CodeIgniter User Guide Version 2.0.2

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

Upgrading from 2.0.1 to 2.0.2

+ +

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" 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.

+ + +

Step 2: Remove loading calls for the Security Library

+ +

Security has been moved to the core and is now always loaded automatically. Make sure you remove any loading calls as they will result in PHP errors.

+ + +

Step 3: Move MY_Security

+ +

If you are overriding or extending the Security library, you will need to move it to application/core.

+ +
+ + + + + + + \ No newline at end of file -- cgit v1.2.3-24-g4f1b From 1f6f0abf0d17046a99fd9c9b3c60fb459b4531b1 Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Thu, 7 Apr 2011 18:24:53 -0500 Subject: Fixing a bug in the form_helper where csrf_token_name and csrf_hash were referencing class properties in the Security class that were moved. --- user_guide/installation/upgrade_202.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'user_guide/installation/upgrade_202.html') diff --git a/user_guide/installation/upgrade_202.html b/user_guide/installation/upgrade_202.html index e6273f53c..d457d8bbb 100644 --- a/user_guide/installation/upgrade_202.html +++ b/user_guide/installation/upgrade_202.html @@ -76,6 +76,8 @@ Upgrading from 2.0.1 to 2.0.2

If you are overriding or extending the Security library, you will need to move it to application/core.

+

csrf_token_name and csrf_hash have changed to protected class properties. Please use security->get_csrf_hash() and security->get_csrf_token_name() to access those values.

+ -- cgit v1.2.3-24-g4f1b From 114ab0988e20ac6be39ad363ff897a1a3b85e565 Mon Sep 17 00:00:00 2001 From: Razican Date: Mon, 25 Apr 2011 17:26:45 +0200 Subject: Fixed double-space typo. --- user_guide/installation/upgrade_202.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide/installation/upgrade_202.html') diff --git a/user_guide/installation/upgrade_202.html b/user_guide/installation/upgrade_202.html index d457d8bbb..93c537227 100644 --- a/user_guide/installation/upgrade_202.html +++ b/user_guide/installation/upgrade_202.html @@ -76,7 +76,7 @@ Upgrading from 2.0.1 to 2.0.2

If you are overriding or extending the Security library, you will need to move it to application/core.

-

csrf_token_name and csrf_hash have changed to protected class properties. Please use security->get_csrf_hash() and security->get_csrf_token_name() to access those values.

+

csrf_token_name and csrf_hash have changed to protected class properties. Please use security->get_csrf_hash() and security->get_csrf_token_name() to access those values.

-- cgit v1.2.3-24-g4f1b