summaryrefslogtreecommitdiffstats
path: root/user_guide/installation
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2010-03-10 03:44:27 +0100
committerDerek Jones <derek.jones@ellislab.com>2010-03-10 03:44:27 +0100
commitc6da50384e06c60e242cb4442abb9c6c9b450674 (patch)
tree40f5e6dbc6c9d10b933c07be01de660ee8d6f2fb /user_guide/installation
parenta9730c337ef046f1c5391cec2a9e54ac613a4e6d (diff)
completely removed Plugins from CodeIgniter
Diffstat (limited to 'user_guide/installation')
-rw-r--r--user_guide/installation/upgrade_200.html25
1 files changed, 15 insertions, 10 deletions
diff --git a/user_guide/installation/upgrade_200.html b/user_guide/installation/upgrade_200.html
index bf57fe3c4..3f6bb129e 100644
--- a/user_guide/installation/upgrade_200.html
+++ b/user_guide/installation/upgrade_200.html
@@ -63,16 +63,7 @@ Upgrading from 1.7.2 to 2.0.0
<h2>Step 1: Update your CodeIgniter files</h2>
-<p>Replace these files and directories in your "system" folder with the new versions:</p>
-
-<ul>
-
-<li><dfn>system/codeigniter</dfn></li>
-<li><dfn>system/database</dfn></li>
-<li><dfn>system/helpers</dfn></li>
-<li><dfn>system/language</dfn></li>
-<li><dfn>system/libraries</dfn></li>
-</ul>
+<p>Replace all files and directories in your "system" folder <strong>except</strong> your <kbd>application</kbd> folder.</p>
<p class="important"><strong>Note:</strong> If you have any custom developed files in these folders please make copies of them first.</p>
@@ -84,6 +75,20 @@ Upgrading from 1.7.2 to 2.0.0
<code>get_dir_file_info('/path/to/directory', <kbd>FALSE</kbd>);</code>
+</p>
+
+<h2>Step 3: Convert your Plugins to Helpers</h2>
+
+<p>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 <var>filename_pi.php</var> to <var>filename_helper.php</var>, move them to your <kbd>helpers</kbd> folder, and change all instances of:
+
+ <code>$this->load->plugin('foo');</code>
+
+to
+
+ <code>$this->load->helper('foo');</code>
+
+</p>
+
<h2>Step 3: Update your user guide</h2>
<p>Please replace your local copy of the user guide with the new version, including the image files.</p>