diff options
author | Derek Jones <derek.jones@ellislab.com> | 2011-03-15 19:49:55 +0100 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2011-03-15 19:49:55 +0100 |
commit | 38897a47961649698c32e6b6c54887906f005274 (patch) | |
tree | 5f490f7f4f4301a0de3293caedf18a2e3b3fa8fd /user_guide | |
parent | 15b7a20f16e25b2c8fb051c4e4684609b398305b (diff) | |
parent | 02d676bef181b9484ef52200684cf8a086e6ea9e (diff) |
Automated merge with http://hg.ellislab.com/CodeIgniter-Reactor
Diffstat (limited to 'user_guide')
-rw-r--r-- | user_guide/installation/upgrade_201.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/user_guide/installation/upgrade_201.html b/user_guide/installation/upgrade_201.html index eba87f95a..879067c6e 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 <p>This config file has been updated to contain more mime types, please copy it to <kbd>application/config/mimes.php</kbd>.</p> +<h2>Step 3: Check for forms posting to default controller</h2> + +<p> + The default behavior for <kbd>form_open()</kbd> 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: +</p> + +<code>echo form_open(); //<form action="" method="post" accept-charset="utf-8"></code> + +<p>to use either a / or <kbd>base_url()</kbd>:</p> + +<code>echo form_open('/'); //<form action="http://example.com/index.php/" method="post" accept-charset="utf-8"><br/> +echo form_open(base_url()); //<form action="http://example.com/" method="post" accept-charset="utf-8"></code> + </div> <!-- END CONTENT --> |