From 0e3263b44d2762894588ff3e682579ec0cb77fa0 Mon Sep 17 00:00:00 2001 From: Phil Sturgeon Date: Thu, 10 Mar 2011 16:37:35 +0000 Subject: Updated version number in User Guide html. --- user_guide/installation/downloads.html | 2 +- user_guide/installation/index.html | 2 +- user_guide/installation/troubleshooting.html | 2 +- user_guide/installation/upgrade_120.html | 2 +- user_guide/installation/upgrade_130.html | 2 +- user_guide/installation/upgrade_131.html | 2 +- user_guide/installation/upgrade_132.html | 2 +- user_guide/installation/upgrade_133.html | 2 +- user_guide/installation/upgrade_140.html | 2 +- user_guide/installation/upgrade_141.html | 2 +- user_guide/installation/upgrade_150.html | 2 +- user_guide/installation/upgrade_152.html | 2 +- user_guide/installation/upgrade_153.html | 2 +- user_guide/installation/upgrade_154.html | 2 +- user_guide/installation/upgrade_160.html | 2 +- user_guide/installation/upgrade_161.html | 2 +- user_guide/installation/upgrade_162.html | 2 +- user_guide/installation/upgrade_163.html | 2 +- user_guide/installation/upgrade_170.html | 2 +- user_guide/installation/upgrade_171.html | 2 +- user_guide/installation/upgrade_172.html | 2 +- user_guide/installation/upgrade_200.html | 2 +- user_guide/installation/upgrade_201.html | 2 +- user_guide/installation/upgrade_b11.html | 2 +- user_guide/installation/upgrading.html | 2 +- 25 files changed, 25 insertions(+), 25 deletions(-) (limited to 'user_guide/installation') diff --git a/user_guide/installation/downloads.html b/user_guide/installation/downloads.html index da93bb678..f27eef05e 100644 --- a/user_guide/installation/downloads.html +++ b/user_guide/installation/downloads.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

diff --git a/user_guide/installation/index.html b/user_guide/installation/index.html index 9a611eb41..4c6c7c62e 100644 --- a/user_guide/installation/index.html +++ b/user_guide/installation/index.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

diff --git a/user_guide/installation/troubleshooting.html b/user_guide/installation/troubleshooting.html index c1c423a76..aeb9c44c4 100644 --- a/user_guide/installation/troubleshooting.html +++ b/user_guide/installation/troubleshooting.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

diff --git a/user_guide/installation/upgrade_120.html b/user_guide/installation/upgrade_120.html index da49549a5..765da680f 100644 --- a/user_guide/installation/upgrade_120.html +++ b/user_guide/installation/upgrade_120.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

diff --git a/user_guide/installation/upgrade_130.html b/user_guide/installation/upgrade_130.html index 759177612..ec4aa5ca7 100644 --- a/user_guide/installation/upgrade_130.html +++ b/user_guide/installation/upgrade_130.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

diff --git a/user_guide/installation/upgrade_131.html b/user_guide/installation/upgrade_131.html index a2f742532..18a2f8aff 100644 --- a/user_guide/installation/upgrade_131.html +++ b/user_guide/installation/upgrade_131.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

diff --git a/user_guide/installation/upgrade_132.html b/user_guide/installation/upgrade_132.html index e0e562231..dc5bffe98 100644 --- a/user_guide/installation/upgrade_132.html +++ b/user_guide/installation/upgrade_132.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

diff --git a/user_guide/installation/upgrade_133.html b/user_guide/installation/upgrade_133.html index 1fb537a76..833755619 100644 --- a/user_guide/installation/upgrade_133.html +++ b/user_guide/installation/upgrade_133.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

diff --git a/user_guide/installation/upgrade_140.html b/user_guide/installation/upgrade_140.html index 9da635cf1..0993e6b62 100644 --- a/user_guide/installation/upgrade_140.html +++ b/user_guide/installation/upgrade_140.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

diff --git a/user_guide/installation/upgrade_141.html b/user_guide/installation/upgrade_141.html index f1dad54f4..8f1366296 100644 --- a/user_guide/installation/upgrade_141.html +++ b/user_guide/installation/upgrade_141.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

diff --git a/user_guide/installation/upgrade_150.html b/user_guide/installation/upgrade_150.html index dd5a90d7a..c70968570 100644 --- a/user_guide/installation/upgrade_150.html +++ b/user_guide/installation/upgrade_150.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

diff --git a/user_guide/installation/upgrade_152.html b/user_guide/installation/upgrade_152.html index f548e259d..931305894 100644 --- a/user_guide/installation/upgrade_152.html +++ b/user_guide/installation/upgrade_152.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

diff --git a/user_guide/installation/upgrade_153.html b/user_guide/installation/upgrade_153.html index d76d8f173..e000d173a 100644 --- a/user_guide/installation/upgrade_153.html +++ b/user_guide/installation/upgrade_153.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

diff --git a/user_guide/installation/upgrade_154.html b/user_guide/installation/upgrade_154.html index 4c534ffcb..c6338c627 100644 --- a/user_guide/installation/upgrade_154.html +++ b/user_guide/installation/upgrade_154.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

diff --git a/user_guide/installation/upgrade_160.html b/user_guide/installation/upgrade_160.html index 366826fb8..cbdbaff82 100644 --- a/user_guide/installation/upgrade_160.html +++ b/user_guide/installation/upgrade_160.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

diff --git a/user_guide/installation/upgrade_161.html b/user_guide/installation/upgrade_161.html index c809b63dc..d279f32ff 100644 --- a/user_guide/installation/upgrade_161.html +++ b/user_guide/installation/upgrade_161.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

diff --git a/user_guide/installation/upgrade_162.html b/user_guide/installation/upgrade_162.html index f4792c2f8..ca9fd926b 100644 --- a/user_guide/installation/upgrade_162.html +++ b/user_guide/installation/upgrade_162.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

diff --git a/user_guide/installation/upgrade_163.html b/user_guide/installation/upgrade_163.html index 915a7231d..dac67e3bc 100644 --- a/user_guide/installation/upgrade_163.html +++ b/user_guide/installation/upgrade_163.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

diff --git a/user_guide/installation/upgrade_170.html b/user_guide/installation/upgrade_170.html index d286cf289..441083670 100644 --- a/user_guide/installation/upgrade_170.html +++ b/user_guide/installation/upgrade_170.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

diff --git a/user_guide/installation/upgrade_171.html b/user_guide/installation/upgrade_171.html index 6058232b9..4e5ec69e7 100644 --- a/user_guide/installation/upgrade_171.html +++ b/user_guide/installation/upgrade_171.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

diff --git a/user_guide/installation/upgrade_172.html b/user_guide/installation/upgrade_172.html index b5c95b169..ecc7351aa 100644 --- a/user_guide/installation/upgrade_172.html +++ b/user_guide/installation/upgrade_172.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

diff --git a/user_guide/installation/upgrade_200.html b/user_guide/installation/upgrade_200.html index c4a588772..6baea7338 100644 --- a/user_guide/installation/upgrade_200.html +++ b/user_guide/installation/upgrade_200.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

diff --git a/user_guide/installation/upgrade_201.html b/user_guide/installation/upgrade_201.html index ec01b9b33..eba87f95a 100644 --- a/user_guide/installation/upgrade_201.html +++ b/user_guide/installation/upgrade_201.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

diff --git a/user_guide/installation/upgrade_b11.html b/user_guide/installation/upgrade_b11.html index dd0a9bcdb..b3f70c606 100644 --- a/user_guide/installation/upgrade_b11.html +++ b/user_guide/installation/upgrade_b11.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

diff --git a/user_guide/installation/upgrading.html b/user_guide/installation/upgrading.html index 073e7a7cc..f72ef02d6 100644 --- a/user_guide/installation/upgrading.html +++ b/user_guide/installation/upgrading.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

-- cgit v1.2.3-24-g4f1b From c22b9b93ff45a1ff93d82bb669a89f5460e4ec5c Mon Sep 17 00:00:00 2001 From: Phil Sturgeon Date: Tue, 15 Mar 2011 16:53:38 +0000 Subject: Added form_helper form_open() behaviour change to upgrade guide. --- user_guide/installation/upgrade_201.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'user_guide/installation') diff --git a/user_guide/installation/upgrade_201.html b/user_guide/installation/upgrade_201.html index eba87f95a..6c423d82e 100644 --- a/user_guide/installation/upgrade_201.html +++ b/user_guide/installation/upgrade_201.html @@ -70,6 +70,20 @@ Upgrading from 2.0.0 to 2.0.1

This config file has been updated to contain more mime types, please copy it to application/config/mimes.php.

+

Step 3: Check for forms posting to default controller

+ +

+ The default behavior for form_open() when called with no parameters used to be to post to the default controller, but it will now just leave an empty action="" meaning the form will submit to the current URL. + If submitting to the default controller was the expected behavior it will need to be changed from: +

+ +echo form_open(); //<form action="" method="post" accept-charset="utf-8"> + +

to use either a / or base_url():

+ +echo form_open('/'); //<form action="http://example.com/index.php/" method="post" accept-charset="utf-8">
+echo form_open('/'); //<form action="http://example.com/" method="post" accept-charset="utf-8">
+
-- cgit v1.2.3-24-g4f1b From 02d676bef181b9484ef52200684cf8a086e6ea9e Mon Sep 17 00:00:00 2001 From: Phil Sturgeon Date: Tue, 15 Mar 2011 17:03:08 +0000 Subject: Missed tiny change from last commit. --- user_guide/installation/upgrade_201.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide/installation') diff --git a/user_guide/installation/upgrade_201.html b/user_guide/installation/upgrade_201.html index 6c423d82e..879067c6e 100644 --- a/user_guide/installation/upgrade_201.html +++ b/user_guide/installation/upgrade_201.html @@ -82,7 +82,7 @@ Upgrading from 2.0.0 to 2.0.1

to use either a / or base_url():

echo form_open('/'); //<form action="http://example.com/index.php/" method="post" accept-charset="utf-8">
-echo form_open('/'); //<form action="http://example.com/" method="post" accept-charset="utf-8">
+echo form_open(base_url()); //<form action="http://example.com/" method="post" accept-charset="utf-8">
-- cgit v1.2.3-24-g4f1b From 3bddc95336d3b5bd15c8fa19ce770f11282e7651 Mon Sep 17 00:00:00 2001 From: Pascal Kriete Date: Wed, 6 Apr 2011 14:48:52 -0400 Subject: Adding a note about security to the upgrade docs --- user_guide/installation/upgrade_201.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'user_guide/installation') diff --git a/user_guide/installation/upgrade_201.html b/user_guide/installation/upgrade_201.html index 879067c6e..9c72cf423 100644 --- a/user_guide/installation/upgrade_201.html +++ b/user_guide/installation/upgrade_201.html @@ -66,11 +66,23 @@ Upgrading from 2.0.0 to 2.0.1

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

+

Step 2: Replace config/mimes.php

This config file has been updated to contain more mime types, please copy it to application/config/mimes.php.

-

Step 3: Check for forms posting to default controller

+ +

Step 3: 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 4: Move MY_Security

+ +

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

+ + +

Step 5: Check for forms posting to default controller

The default behavior for form_open() when called with no parameters used to be to post to the default controller, but it will now just leave an empty action="" meaning the form will submit to the current URL. -- cgit v1.2.3-24-g4f1b From 1f622294b92c095fd91e8ca44912d405c1605ded Mon Sep 17 00:00:00 2001 From: Pascal Kriete Date: Thu, 7 Apr 2011 12:06:51 -0400 Subject: Wow, I screwed that up, Reactor is going to 2.0.2 not 2.0.1 --- user_guide/installation/downloads.html | 2 +- user_guide/installation/index.html | 2 +- user_guide/installation/troubleshooting.html | 2 +- user_guide/installation/upgrade_120.html | 2 +- user_guide/installation/upgrade_130.html | 2 +- user_guide/installation/upgrade_131.html | 2 +- user_guide/installation/upgrade_132.html | 2 +- user_guide/installation/upgrade_133.html | 2 +- user_guide/installation/upgrade_140.html | 2 +- user_guide/installation/upgrade_141.html | 2 +- user_guide/installation/upgrade_150.html | 2 +- user_guide/installation/upgrade_152.html | 2 +- user_guide/installation/upgrade_153.html | 2 +- user_guide/installation/upgrade_154.html | 2 +- user_guide/installation/upgrade_160.html | 2 +- user_guide/installation/upgrade_161.html | 2 +- user_guide/installation/upgrade_162.html | 2 +- user_guide/installation/upgrade_163.html | 2 +- user_guide/installation/upgrade_170.html | 2 +- user_guide/installation/upgrade_171.html | 2 +- user_guide/installation/upgrade_172.html | 2 +- user_guide/installation/upgrade_200.html | 2 +- user_guide/installation/upgrade_201.html | 2 +- user_guide/installation/upgrade_b11.html | 2 +- user_guide/installation/upgrading.html | 2 +- 25 files changed, 25 insertions(+), 25 deletions(-) (limited to 'user_guide/installation') diff --git a/user_guide/installation/downloads.html b/user_guide/installation/downloads.html index f27eef05e..94ebeb037 100644 --- a/user_guide/installation/downloads.html +++ b/user_guide/installation/downloads.html @@ -28,7 +28,7 @@

- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

diff --git a/user_guide/installation/index.html b/user_guide/installation/index.html index 5d26a42ec..87da5189f 100644 --- a/user_guide/installation/index.html +++ b/user_guide/installation/index.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

diff --git a/user_guide/installation/troubleshooting.html b/user_guide/installation/troubleshooting.html index aeb9c44c4..2a50b8dbf 100644 --- a/user_guide/installation/troubleshooting.html +++ b/user_guide/installation/troubleshooting.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

diff --git a/user_guide/installation/upgrade_120.html b/user_guide/installation/upgrade_120.html index 765da680f..563c98c60 100644 --- a/user_guide/installation/upgrade_120.html +++ b/user_guide/installation/upgrade_120.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

diff --git a/user_guide/installation/upgrade_130.html b/user_guide/installation/upgrade_130.html index ec4aa5ca7..f7ffac74e 100644 --- a/user_guide/installation/upgrade_130.html +++ b/user_guide/installation/upgrade_130.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

diff --git a/user_guide/installation/upgrade_131.html b/user_guide/installation/upgrade_131.html index 18a2f8aff..7541a83ec 100644 --- a/user_guide/installation/upgrade_131.html +++ b/user_guide/installation/upgrade_131.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

diff --git a/user_guide/installation/upgrade_132.html b/user_guide/installation/upgrade_132.html index dc5bffe98..4fcbb46b9 100644 --- a/user_guide/installation/upgrade_132.html +++ b/user_guide/installation/upgrade_132.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

diff --git a/user_guide/installation/upgrade_133.html b/user_guide/installation/upgrade_133.html index 833755619..c63465955 100644 --- a/user_guide/installation/upgrade_133.html +++ b/user_guide/installation/upgrade_133.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

diff --git a/user_guide/installation/upgrade_140.html b/user_guide/installation/upgrade_140.html index 0993e6b62..2049628a6 100644 --- a/user_guide/installation/upgrade_140.html +++ b/user_guide/installation/upgrade_140.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

diff --git a/user_guide/installation/upgrade_141.html b/user_guide/installation/upgrade_141.html index 8f1366296..c19143c64 100644 --- a/user_guide/installation/upgrade_141.html +++ b/user_guide/installation/upgrade_141.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

diff --git a/user_guide/installation/upgrade_150.html b/user_guide/installation/upgrade_150.html index c70968570..342d486df 100644 --- a/user_guide/installation/upgrade_150.html +++ b/user_guide/installation/upgrade_150.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

diff --git a/user_guide/installation/upgrade_152.html b/user_guide/installation/upgrade_152.html index 931305894..f601a252e 100644 --- a/user_guide/installation/upgrade_152.html +++ b/user_guide/installation/upgrade_152.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

diff --git a/user_guide/installation/upgrade_153.html b/user_guide/installation/upgrade_153.html index e000d173a..fe6978aac 100644 --- a/user_guide/installation/upgrade_153.html +++ b/user_guide/installation/upgrade_153.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

diff --git a/user_guide/installation/upgrade_154.html b/user_guide/installation/upgrade_154.html index c6338c627..e5086813d 100644 --- a/user_guide/installation/upgrade_154.html +++ b/user_guide/installation/upgrade_154.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

diff --git a/user_guide/installation/upgrade_160.html b/user_guide/installation/upgrade_160.html index cbdbaff82..d06f58ec9 100644 --- a/user_guide/installation/upgrade_160.html +++ b/user_guide/installation/upgrade_160.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

diff --git a/user_guide/installation/upgrade_161.html b/user_guide/installation/upgrade_161.html index d279f32ff..2dc2de59e 100644 --- a/user_guide/installation/upgrade_161.html +++ b/user_guide/installation/upgrade_161.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

diff --git a/user_guide/installation/upgrade_162.html b/user_guide/installation/upgrade_162.html index ca9fd926b..0add80f8a 100644 --- a/user_guide/installation/upgrade_162.html +++ b/user_guide/installation/upgrade_162.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

diff --git a/user_guide/installation/upgrade_163.html b/user_guide/installation/upgrade_163.html index dac67e3bc..73441397e 100644 --- a/user_guide/installation/upgrade_163.html +++ b/user_guide/installation/upgrade_163.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

diff --git a/user_guide/installation/upgrade_170.html b/user_guide/installation/upgrade_170.html index 441083670..01597a416 100644 --- a/user_guide/installation/upgrade_170.html +++ b/user_guide/installation/upgrade_170.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

diff --git a/user_guide/installation/upgrade_171.html b/user_guide/installation/upgrade_171.html index 4e5ec69e7..baee208a8 100644 --- a/user_guide/installation/upgrade_171.html +++ b/user_guide/installation/upgrade_171.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

diff --git a/user_guide/installation/upgrade_172.html b/user_guide/installation/upgrade_172.html index ecc7351aa..dbf0fb019 100644 --- a/user_guide/installation/upgrade_172.html +++ b/user_guide/installation/upgrade_172.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

diff --git a/user_guide/installation/upgrade_200.html b/user_guide/installation/upgrade_200.html index 6baea7338..0b24079ef 100644 --- a/user_guide/installation/upgrade_200.html +++ b/user_guide/installation/upgrade_200.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

diff --git a/user_guide/installation/upgrade_201.html b/user_guide/installation/upgrade_201.html index 9c72cf423..6c2b02d00 100644 --- a/user_guide/installation/upgrade_201.html +++ b/user_guide/installation/upgrade_201.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

diff --git a/user_guide/installation/upgrade_b11.html b/user_guide/installation/upgrade_b11.html index b3f70c606..add7228c8 100644 --- a/user_guide/installation/upgrade_b11.html +++ b/user_guide/installation/upgrade_b11.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

diff --git a/user_guide/installation/upgrading.html b/user_guide/installation/upgrading.html index f72ef02d6..5f1fdd3e0 100644 --- a/user_guide/installation/upgrading.html +++ b/user_guide/installation/upgrading.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

-- cgit v1.2.3-24-g4f1b 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/downloads.html | 3 +- user_guide/installation/upgrade_201.html | 12 +--- user_guide/installation/upgrade_202.html | 95 ++++++++++++++++++++++++++++++++ user_guide/installation/upgrading.html | 1 + 4 files changed, 99 insertions(+), 12 deletions(-) create mode 100644 user_guide/installation/upgrade_202.html (limited to 'user_guide/installation') diff --git a/user_guide/installation/downloads.html b/user_guide/installation/downloads.html index 94ebeb037..54fff5a28 100644 --- a/user_guide/installation/downloads.html +++ b/user_guide/installation/downloads.html @@ -58,7 +58,8 @@ Downloading CodeIgniter

Downloading CodeIgniter

    -
  • CodeIgniter V 2.0.1 (Current version)
  • +
  • CodeIgniter V 2.0.2 (Current version)
  • +
  • CodeIgniter V 2.0.1
  • CodeIgniter V 2.0.0
  • CodeIgniter V 1.7.3
  • CodeIgniter V 1.7.2
  • diff --git a/user_guide/installation/upgrade_201.html b/user_guide/installation/upgrade_201.html index 6c2b02d00..fe99cc0ce 100644 --- a/user_guide/installation/upgrade_201.html +++ b/user_guide/installation/upgrade_201.html @@ -72,17 +72,7 @@ Upgrading from 2.0.0 to 2.0.1

    This config file has been updated to contain more mime types, please copy it to application/config/mimes.php.

    -

    Step 3: 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 4: Move MY_Security

    - -

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

    - - -

    Step 5: Check for forms posting to default controller

    +

    Step 3: Check for forms posting to default controller

    The default behavior for form_open() when called with no parameters used to be to post to the default controller, but it will now just leave an empty action="" meaning the form will submit to the current URL. 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 diff --git a/user_guide/installation/upgrading.html b/user_guide/installation/upgrading.html index 5f1fdd3e0..1c4eb882d 100644 --- a/user_guide/installation/upgrading.html +++ b/user_guide/installation/upgrading.html @@ -60,6 +60,7 @@ Upgrading from a Previous Version

    Please read the upgrade notes corresponding to the version you are upgrading from.

      +
    • Upgrading from 2.0.1 to 2.0.2
    • Upgrading from 2.0 to 2.0.1
    • Upgrading from 1.7.2 to 2.0
    • Upgrading from 1.7.1 to 1.7.2
    • -- 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') 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 3a746655e92ec59ee7e731c3535673a9aedc5d3e Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Tue, 19 Apr 2011 10:59:47 -0500 Subject: Removing internal references to the EXT constant. Additionally, marked the constant as deprecated. Use ".php" instead. Also adding upgrade notes from 2.0.2 to 2.0.3. --- user_guide/installation/upgrade_203.html | 102 +++++++++++++++++++++++++++++++ user_guide/installation/upgrading.html | 1 + 2 files changed, 103 insertions(+) create mode 100644 user_guide/installation/upgrade_203.html (limited to 'user_guide/installation') diff --git a/user_guide/installation/upgrade_203.html b/user_guide/installation/upgrade_203.html new file mode 100644 index 000000000..4937cf257 --- /dev/null +++ b/user_guide/installation/upgrade_203.html @@ -0,0 +1,102 @@ + + + + + +Upgrading from 2.0.2 to 2.0.3 : CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +

CodeIgniter User Guide Version 2.0.3

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

Upgrading from 2.0.2 to 2.0.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" 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: Update CodeIgniter files

+ +

Replace the files and directories in your "system" folder with the new versions:

+ +

Step 3: Update your main index.php file

+ +

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.

+ +

Step 4: Replace config/user_agents.php

+ +

This config file has been updated to contain more user agent types, please copy it to application/config/user_agents.php.

+ +

Step 5: Change references of the EXT constant to ".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.

+ +
+ + + + + + + \ No newline at end of file diff --git a/user_guide/installation/upgrading.html b/user_guide/installation/upgrading.html index 1c4eb882d..014ffa3f3 100644 --- a/user_guide/installation/upgrading.html +++ b/user_guide/installation/upgrading.html @@ -60,6 +60,7 @@ Upgrading from a Previous Version

Please read the upgrade notes corresponding to the version you are upgrading from.

    +
  • Upgrading from 2.0.2 to 2.0.3
  • Upgrading from 2.0.1 to 2.0.2
  • Upgrading from 2.0 to 2.0.1
  • Upgrading from 1.7.2 to 2.0
  • -- cgit v1.2.3-24-g4f1b From 4488538665d37b07a08d7fe4ce6f4156a9899211 Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Tue, 19 Apr 2011 15:28:40 -0500 Subject: Removed APPPATH.'third_party' from the packages autoloader to negate needless file stats if no packages exist or if the developer does not load any other packages by default. --- user_guide/installation/upgrade_203.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'user_guide/installation') diff --git a/user_guide/installation/upgrade_203.html b/user_guide/installation/upgrade_203.html index 4937cf257..38cfb72c9 100644 --- a/user_guide/installation/upgrade_203.html +++ b/user_guide/installation/upgrade_203.html @@ -83,6 +83,18 @@ Upgrading from 2.0.2 to 2.0.3

    Step 5: Change references of the EXT constant to ".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.

    +

    Step 6: Remove APPPATH.'third_party' from autoload.php

    + +

    Open application/autoload.php, and look for the following:

    + +$autoload['packages'] = array(APPPATH.'third_party'); + +

    If you have not chosen to load any additional packages, that line can be changed to:

    +$autoload['packages'] = array(); + +

    Which should provide for nominal performance gains if not autoloading packages.

    + +
-- cgit v1.2.3-24-g4f1b From 882b76bda8b701a8718960b8d639f060ae79e998 Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Wed, 20 Apr 2011 11:22:09 -0500 Subject: Fixed a bug (Reactor #231) where Sessions Library database table example SQL did not contain an index on last_activity. See Upgrade Notes Fixed a bug (Reactor #229) where the Sessions Library example SQL in the documentation contained incorrect SQL. --- user_guide/installation/upgrade_203.html | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'user_guide/installation') diff --git a/user_guide/installation/upgrade_203.html b/user_guide/installation/upgrade_203.html index 38cfb72c9..d7c0fae3a 100644 --- a/user_guide/installation/upgrade_203.html +++ b/user_guide/installation/upgrade_203.html @@ -94,6 +94,16 @@ Upgrading from 2.0.2 to 2.0.3

Which should provide for nominal performance gains if not autoloading packages.

+

Update Sessions Database Tables

+ +

If you are using database sessions with the CI Session Library, please update your ci_sessions database table as follows:

+ + + CREATE INDEX last_activity_idx ON ci_sessions(last_activity); + + + +
-- cgit v1.2.3-24-g4f1b From 50671cf8d67c805692fec49eda33d21227a21ec2 Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Wed, 20 Apr 2011 11:36:45 -0500 Subject: Altered Session to use a longer match against the user_agent string. See upgrade notes if using database sessions.If you are using database sessions with the CI Session Library, please update your ci_sessions database table as follows:

- + CREATE INDEX last_activity_idx ON ci_sessions(last_activity); + ALTER TABLE ci_sessions MODIFY user_agent VARCHAR(120); -- cgit v1.2.3-24-g4f1b From e5c8812f4165bf145e550a2f4c0354685c5bdb74 Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Wed, 20 Apr 2011 12:33:11 -0500 Subject: Fixing download links for reactor -- thanks kenjis for the patch --- user_guide/installation/downloads.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'user_guide/installation') diff --git a/user_guide/installation/downloads.html b/user_guide/installation/downloads.html index 54fff5a28..f452ba471 100644 --- a/user_guide/installation/downloads.html +++ b/user_guide/installation/downloads.html @@ -59,8 +59,8 @@ Downloading CodeIgniter
  • CodeIgniter V 2.0.2 (Current version)
  • -
  • CodeIgniter V 2.0.1
  • -
  • CodeIgniter V 2.0.0
  • +
  • CodeIgniter V 2.0.1
  • +
  • CodeIgniter V 2.0.0
  • CodeIgniter V 1.7.3
  • CodeIgniter V 1.7.2
  • CodeIgniter V 1.7.1
  • -- 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/index.html | 16 ++++++++-------- user_guide/installation/troubleshooting.html | 4 ++-- user_guide/installation/upgrade_130.html | 8 ++++---- user_guide/installation/upgrade_131.html | 2 +- user_guide/installation/upgrade_132.html | 2 +- user_guide/installation/upgrade_133.html | 8 ++++---- user_guide/installation/upgrade_140.html | 6 +++--- user_guide/installation/upgrade_141.html | 10 +++++----- user_guide/installation/upgrade_150.html | 8 ++++---- user_guide/installation/upgrade_152.html | 2 +- user_guide/installation/upgrade_160.html | 6 +++--- user_guide/installation/upgrade_170.html | 8 ++++---- user_guide/installation/upgrade_200.html | 10 +++++----- user_guide/installation/upgrade_202.html | 2 +- user_guide/installation/upgrade_203.html | 12 ++++++------ user_guide/installation/upgrade_b11.html | 6 +++--- 16 files changed, 55 insertions(+), 55 deletions(-) (limited to 'user_guide/installation') diff --git a/user_guide/installation/index.html b/user_guide/installation/index.html index 87da5189f..f62aadb5e 100644 --- a/user_guide/installation/index.html +++ b/user_guide/installation/index.html @@ -61,24 +61,24 @@ Installation Instructions
    1. Unzip the package.
    2. -
    3. Upload the CodeIgniter folders and files to your server. Normally the index.php file will be at your root.
    4. -
    5. Open the application/config/config.php file with a text editor and set your base URL. If you intend to use encryption or sessions, set your encryption key.
    6. +
    7. Upload the CodeIgniter folders and files to your server. Normally the index.php file will be at your root.
    8. +
    9. Open the application/config/config.php file with a text editor and set your base URL. If you intend to use encryption or sessions, set your encryption key.
    10. If you intend to use a database, open the application/config/database.php file with a text editor and set your database settings.

    If you wish to increase security by hiding the location of your CodeIgniter files you can rename the system and application folders -to something more private. If you do rename them, you must open your main index.php file and set the $system_folder and $application_folder +to something more private. If you do rename them, you must open your main index.php file and set the $system_folder and $application_folder variables at the top of the file with the new name you've chosen.

    -

    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.

    +

    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 index.php file and set the $system_folder and $application_folder variables, preferably with a full path, e.g. '/www/MyUser/system'.

    - One additional measure to take in production environments is to disable - PHP error reporting and any other development-only functionality. In CodeIgniter, - this can be done by setting the ENVIRONMENT constant, which is - more fully described on the security page. + One additional measure to take in production environments is to disable + PHP error reporting and any other development-only functionality. In CodeIgniter, + this can be done by setting the ENVIRONMENT constant, which is + more fully described on the security page.

    That's it!

    diff --git a/user_guide/installation/troubleshooting.html b/user_guide/installation/troubleshooting.html index 2a50b8dbf..f99fc0a32 100644 --- a/user_guide/installation/troubleshooting.html +++ b/user_guide/installation/troubleshooting.html @@ -61,8 +61,8 @@ Trouble Shooting does not support the PATH_INFO variable needed to serve search-engine friendly URLs. As a first step, open your application/config/config.php file and look for the URI Protocol -information. It will recommend that you try a couple alternate settings. If it still doesn't work after you've tried this you'll need -to force CodeIgniter to add a question mark to your URLs. To do this open your application/config/config.php file and change this:

    +information. It will recommend that you try a couple alternate settings. If it still doesn't work after you've tried this you'll need +to force CodeIgniter to add a question mark to your URLs. To do this open your application/config/config.php file and change this:

    $config['index_page'] = "index.php"; diff --git a/user_guide/installation/upgrade_130.html b/user_guide/installation/upgrade_130.html index f7ffac74e..e6bb9480e 100644 --- a/user_guide/installation/upgrade_130.html +++ b/user_guide/installation/upgrade_130.html @@ -57,7 +57,7 @@ Upgrading from 1.2 to 1.3

    Upgrading from 1.2 to 1.3

    -

    Note: The instructions on this page assume you are running version 1.2. If you +

    Note: The instructions on this page assume you are running version 1.2. If you have not upgraded to that version please do so first.

    @@ -72,8 +72,8 @@ with a static one.

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

      -
    • application/models/   (new for 1.3)
    • -
    • codeigniter   (new for 1.3)
    • +
    • application/models/   (new for 1.3)
    • +
    • codeigniter   (new for 1.3)
    • drivers
    • helpers
    • init
    • @@ -109,7 +109,7 @@ replace this folder:

      Step 3: Update your index.php file

      -

      Please open your main index.php file (located at your root). At the very bottom of the file, change this:

      +

      Please open your main index.php file (located at your root). At the very bottom of the file, change this:

      require_once BASEPATH.'libraries/Front_controller'.EXT; diff --git a/user_guide/installation/upgrade_131.html b/user_guide/installation/upgrade_131.html index 7541a83ec..a7025f2a7 100644 --- a/user_guide/installation/upgrade_131.html +++ b/user_guide/installation/upgrade_131.html @@ -57,7 +57,7 @@ Upgrading from 1.3 to 1.3.1

      Upgrading from 1.3 to 1.3.1

      -

      Note: The instructions on this page assume you are running version 1.3. If you +

      Note: The instructions on this page assume you are running version 1.3. If you have not upgraded to that version please do so first.

      Before performing an update you should take your site offline by replacing the index.php file with a static one.

      diff --git a/user_guide/installation/upgrade_132.html b/user_guide/installation/upgrade_132.html index 4fcbb46b9..3b71594dc 100644 --- a/user_guide/installation/upgrade_132.html +++ b/user_guide/installation/upgrade_132.html @@ -57,7 +57,7 @@ Upgrading from 1.3.1 to 1.3.2

      Upgrading from 1.3.1 to 1.3.2

      -

      Note: The instructions on this page assume you are running version 1.3.1. If you +

      Note: The instructions on this page assume you are running version 1.3.1. If you have not upgraded to that version please do so first.

      Before performing an update you should take your site offline by replacing the index.php file with a static one.

      diff --git a/user_guide/installation/upgrade_133.html b/user_guide/installation/upgrade_133.html index c63465955..a81f67bf5 100644 --- a/user_guide/installation/upgrade_133.html +++ b/user_guide/installation/upgrade_133.html @@ -57,7 +57,7 @@ Upgrading from 1.3.2 to 1.3.3

      Upgrading from 1.3.2 to 1.3.3

      -

      Note: The instructions on this page assume you are running version 1.3.2. If you +

      Note: The instructions on this page assume you are running version 1.3.2. If you have not upgraded to that version please do so first.

      Before performing an update you should take your site offline by replacing the index.php file with a static one.

      @@ -83,9 +83,9 @@ have not upgraded to that version please do so first.

      If you are NOT using CodeIgniter's Models feature disregard this step.

      -

      As of version 1.3.3, CodeIgniter does not connect automatically to your database when a model is loaded. This -allows you greater flexibility in determining which databases you would like used with your models. If your application is not connecting -to your database prior to a model being loaded you will have to update your code. There are several options for connecting, +

      As of version 1.3.3, CodeIgniter does not connect automatically to your database when a model is loaded. This +allows you greater flexibility in determining which databases you would like used with your models. If your application is not connecting +to your database prior to a model being loaded you will have to update your code. There are several options for connecting, as described here.

      diff --git a/user_guide/installation/upgrade_140.html b/user_guide/installation/upgrade_140.html index 2049628a6..234e2f5b3 100644 --- a/user_guide/installation/upgrade_140.html +++ b/user_guide/installation/upgrade_140.html @@ -57,7 +57,7 @@ Upgrading from 1.3.3 to 1.4.0

      Upgrading from 1.3.3 to 1.4.0

      -

      Note: The instructions on this page assume you are running version 1.3.3. If you +

      Note: The instructions on this page assume you are running version 1.3.3. If you have not upgraded to that version please do so first.

      Before performing an update you should take your site offline by replacing the index.php file with a static one.

      @@ -95,7 +95,7 @@ have not upgraded to that version please do so first.

      |-------------------------------------------------------------------------- | | If you would like to use the "hooks" feature you must enable it by -| setting this variable to TRUE (boolean). See the user guide for details. +| setting this variable to TRUE (boolean). See the user guide for details. | */ $config['enable_hooks'] = FALSE; @@ -111,7 +111,7 @@ $config['enable_hooks'] = FALSE; | get a warning message. | | As a security measure you are STRONGLY encouraged to restrict URLs to -| as few characters as possible. By default only these are allowed: a-z 0-9~%.:_- +| as few characters as possible. By default only these are allowed: a-z 0-9~%.:_- | | Leave blank to allow all characters -- but only if you are insane. | diff --git a/user_guide/installation/upgrade_141.html b/user_guide/installation/upgrade_141.html index c19143c64..79e51e4ab 100644 --- a/user_guide/installation/upgrade_141.html +++ b/user_guide/installation/upgrade_141.html @@ -56,7 +56,7 @@ Upgrading from 1.4.0 to 1.4.1

      Upgrading from 1.4.0 to 1.4.1

      -

      Note: The instructions on this page assume you are running version 1.4.0. If you +

      Note: The instructions on this page assume you are running version 1.4.0. If you have not upgraded to that version please do so first.

      Before performing an update you should take your site offline by replacing the index.php file with a static one.

      @@ -88,16 +88,16 @@ have not upgraded to that version please do so first.

      | Output Compression |-------------------------------------------------------------------------- | -| Enables Gzip output compression for faster page loads. When enabled, +| Enables Gzip output compression for faster page loads. When enabled, | the output class will test whether your server supports Gzip. | Even if it does, however, not all browsers support compression | so enable only if you are reasonably sure your visitors can handle it. | -| VERY IMPORTANT: If you are getting a blank page when compression is enabled it +| VERY IMPORTANT: If you are getting a blank page when compression is enabled it | means you are prematurely outputting something to your browser. It could -| even be a line of whitespace at the end of one of your scripts. For +| even be a line of whitespace at the end of one of your scripts. For | compression to work, nothing can be sent before the output buffer is called -| by the output class. Do not "echo" any values with compression enabled. +| by the output class. Do not "echo" any values with compression enabled. | */ $config['compress_output'] = FALSE; diff --git a/user_guide/installation/upgrade_150.html b/user_guide/installation/upgrade_150.html index 342d486df..9cd0089c0 100644 --- a/user_guide/installation/upgrade_150.html +++ b/user_guide/installation/upgrade_150.html @@ -57,7 +57,7 @@ Upgrading from 1.4.1 to 1.5.0

      Upgrading from 1.4.1 to 1.5.0

      -

      Note: The instructions on this page assume you are running version 1.4.1. If you +

      Note: The instructions on this page assume you are running version 1.4.1. If you have not upgraded to that version please do so first.

      Before performing an update you should take your site offline by replacing the index.php file with a static one.

      @@ -105,7 +105,7 @@ $db['default']['cachedir'] = ''; |-------------------------------------------------------------------------- | | This item allows you to set the filename/classname prefix when extending -| native libraries. For more information please see the user guide: +| native libraries. For more information please see the user guide: | | http://codeigniter.com/user_guide/general/core_classes.html | http://codeigniter.com/user_guide/general/creating_libraries.html @@ -120,7 +120,7 @@ $config['subclass_prefix'] = 'MY_'; | | If your PHP installation does not have short tag support enabled CI | can rewrite the tags on-the-fly, enabling you to utilize that syntax -| in your view files. Options are TRUE or FALSE (boolean) +| in your view files. Options are TRUE or FALSE (boolean) | */ $config['rewrite_short_tags'] = FALSE; @@ -136,7 +136,7 @@ $config['rewrite_short_tags'] = FALSE; |-------------------------------------------------------------------------- | | If you would like errors or debug messages logged set this variable to -| TRUE (boolean). Note: You must set the file permissions on the "logs" folder +| TRUE (boolean). Note: You must set the file permissions on the "logs" folder | such that it is writable. | */ diff --git a/user_guide/installation/upgrade_152.html b/user_guide/installation/upgrade_152.html index f601a252e..136e3090b 100644 --- a/user_guide/installation/upgrade_152.html +++ b/user_guide/installation/upgrade_152.html @@ -57,7 +57,7 @@ Upgrading from 1.5.0 to 1.5.2

      Upgrading from 1.5.0 to 1.5.2

      -

      Note: The instructions on this page assume you are running version 1.5.0 or 1.5.1. If you +

      Note: The instructions on this page assume you are running version 1.5.0 or 1.5.1. If you have not upgraded to that version please do so first.

      Before performing an update you should take your site offline by replacing the index.php file with a static one.

      diff --git a/user_guide/installation/upgrade_160.html b/user_guide/installation/upgrade_160.html index d06f58ec9..2adeff379 100644 --- a/user_guide/installation/upgrade_160.html +++ b/user_guide/installation/upgrade_160.html @@ -84,16 +84,16 @@ Upgrading from 1.5.4 to 1.6.0

      Add the following to application/config/autoload.php

      /*
      | -------------------------------------------------------------------
      - | Auto-load Model files
      + | Auto-load Model files
      | -------------------------------------------------------------------
      | Prototype:
      |
      - | $autoload['model'] = array('my_model');
      + | $autoload['model'] = array('my_model');
      |
      */

      $autoload['model'] = array();

      -

      Step 4: Add to your database.php

      +

      Step 4: Add to your database.php

      Make the following changes to your application/config/database.php file:

      Add the following variable above the database configuration options, with $active_group

      $active_record = TRUE;

      diff --git a/user_guide/installation/upgrade_170.html b/user_guide/installation/upgrade_170.html index 01597a416..6fd92f52a 100644 --- a/user_guide/installation/upgrade_170.html +++ b/user_guide/installation/upgrade_170.html @@ -88,14 +88,14 @@ Here is an example of what this column might look like for MySQL:

      ALTER TABLE `ci_sessions` ADD `user_data` text NOT NULL -

      You'll find more information regarding the new Session functionality in the Session class page.

      +

      You'll find more information regarding the new Session functionality in the Session class page.

      Step 3: Update your Validation Syntax

      -

      This is an optional, but recommended step, for people currently using the Validation class. CI 1.7 introduces a new Form Validation class, which -deprecates the old Validation library. We have left the old one in place so that existing applications that use it will not break, but you are encouraged to -migrate to the new version as soon as possible. Please read the user guide carefully as the new library works a little differently, and has several new features.

      +

      This is an optional, but recommended step, for people currently using the Validation class. CI 1.7 introduces a new Form Validation class, which +deprecates the old Validation library. We have left the old one in place so that existing applications that use it will not break, but you are encouraged to +migrate to the new version as soon as possible. Please read the user guide carefully as the new library works a little differently, and has several new features.

      diff --git a/user_guide/installation/upgrade_200.html b/user_guide/installation/upgrade_200.html index 0b24079ef..cd39d924d 100644 --- a/user_guide/installation/upgrade_200.html +++ b/user_guide/installation/upgrade_200.html @@ -69,8 +69,8 @@ Upgrading from 1.7.2 to 2.0.0

      Step 2: Adjust get_dir_file_info() where necessary

      -

      Version 2.0.0 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 +

      Version 2.0.0 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); @@ -79,7 +79,7 @@ Upgrading from 1.7.2 to 2.0.0

      Step 3: Convert your Plugins to Helpers

      -

      2.0.0 gets rid of the "Plugin" system as their functionality was identical to Helpers, but non-extensible. You will need to rename your plugin files from filename_pi.php to filename_helper.php, move them to your helpers folder, and change all instances of: +

      2.0.0 gets rid of the "Plugin" system as their functionality was identical to Helpers, but non-extensible. You will need to rename your plugin files from filename_pi.php to filename_helper.php, move them to your helpers folder, and change all instances of: $this->load->plugin('foo'); @@ -94,7 +94,7 @@ to

      Note: If your application does not use the Encryption library, does not store Encrypted data permanently, or is on an environment that does not support Mcrypt, you may skip this step.

      The Encryption library has had a number of improvements, some for encryption strength and some for performance, that has an unavoidable consequence of - making it no longer possible to decode encrypted data produced by the original version of this library. To help with the transition, a new method has + making it no longer possible to decode encrypted data produced by the original version of this library. To help with the transition, a new method has been added, encode_from_legacy() that will decode the data with the original algorithm and return a re-encoded string using the improved methods. This will enable you to easily replace stale encrypted data with fresh in your applications, either on the fly or en masse.

      @@ -104,7 +104,7 @@ to

      The compatibility helper has been removed from the CodeIgniter core. All methods in it should be natively available in supported PHP versions.

      Step 6: Update Class extension

      -

      All core classes are now prefixed with CI_. Update Models and Controllers to extend CI_Model and CI_Controller, respectively.

      +

      All core classes are now prefixed with CI_. Update Models and Controllers to extend CI_Model and CI_Controller, respectively.

      Step 7: Update Parent Constructor calls

      All native CodeIgniter classes now use the PHP 5 __construct() convention. Please update extended libraries to call parent::__construct().

      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.

diff --git a/user_guide/installation/upgrade_203.html b/user_guide/installation/upgrade_203.html index 7dbc907ea..d1c9a940f 100644 --- a/user_guide/installation/upgrade_203.html +++ b/user_guide/installation/upgrade_203.html @@ -69,7 +69,7 @@ Upgrading from 2.0.2 to 2.0.3

Step 2: Update CodeIgniter files

Replace the files and directories in your "system" folder with the new versions:

- +

Step 3: Update your main index.php file

If you are running a stock index.php file simply replace your version with the new one.

@@ -81,7 +81,7 @@ Upgrading from 2.0.2 to 2.0.3

This config file has been updated to contain more user agent types, please copy it to application/config/user_agents.php.

Step 5: Change references of the EXT constant to ".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.

+

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.

Step 6: Remove APPPATH.'third_party' from autoload.php

@@ -101,10 +101,10 @@ Upgrading from 2.0.2 to 2.0.3 CREATE INDEX last_activity_idx ON ci_sessions(last_activity); ALTER TABLE ci_sessions MODIFY user_agent VARCHAR(120); - - - - +
+ + +
diff --git a/user_guide/installation/upgrade_b11.html b/user_guide/installation/upgrade_b11.html index add7228c8..d2fc20d18 100644 --- a/user_guide/installation/upgrade_b11.html +++ b/user_guide/installation/upgrade_b11.html @@ -61,7 +61,7 @@ Upgrading from Beta 1.0 to Beta 1.1

Step 1: Replace your index file

-

Replace your main index.php file with the new index.php file. Note: If you have renamed your "system" folder you will need to edit this info in the new file.

+

Replace your main index.php file with the new index.php file. Note: If you have renamed your "system" folder you will need to edit this info in the new file.

Step 2: Relocate your config folder

@@ -91,7 +91,7 @@ the following item to your version: language/english/calendar_lang.phpStep 5: Edit your config file -

The original application/config/config.php file has a typo in it Open the file and look for the items related to cookies:

+

The original application/config/config.php file has a typo in it Open the file and look for the items related to cookies:

$conf['cookie_prefix'] = "";
$conf['cookie_domain'] = "";
@@ -112,7 +112,7 @@ $config['cookie_path'] = "/";
|------------------------------------------------
|
| This item determines which server global
-| should be used to retrieve the URI string. The
+| should be used to retrieve the URI string. The
| default setting of "auto" works for most servers.
| If your links do not seem to work, try one of
| the other delicious flavors:
-- cgit v1.2.3-24-g4f1b