summaryrefslogtreecommitdiffstats
path: root/user_guide
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-02-02 22:27:33 +0100
committerDerek Allard <derek.allard@ellislab.com>2008-02-02 22:27:33 +0100
commit5871011bc0778cb50569bbce8358c4b619c09467 (patch)
tree2d66228aebc607650e4476a11da94ebc398a76e9 /user_guide
parentdfd027d4435a68d95efe6a31c89bf032f27c0e27 (diff)
added autoload of models to update instructions
Diffstat (limited to 'user_guide')
-rw-r--r--user_guide/installation/upgrade_160.html18
1 files changed, 15 insertions, 3 deletions
diff --git a/user_guide/installation/upgrade_160.html b/user_guide/installation/upgrade_160.html
index 950e2180e..8c896b76a 100644
--- a/user_guide/installation/upgrade_160.html
+++ b/user_guide/installation/upgrade_160.html
@@ -80,8 +80,20 @@ Upgrading from 1.5.4 to 1.6.0
<h2>Step 2: Add time_to_update to your config.php </h2>
<p>Add the following to system/application/config/config.php with the other session configuration options</p>
<p><code>$config['sess_time_to_update'] = 300;</code></p>
-
-<h2>Step 3: Add to your database.php </h2>
+<h2>Step 3: Add $autoload['model']</h2>
+<p>Add the following to system/application/autoload.php</p>
+<p><code> /*<br />
+ | -------------------------------------------------------------------<br />
+ |  Auto-load Model files<br />
+ | -------------------------------------------------------------------<br />
+ | Prototype:<br />
+ |<br />
+ |    $autoload['model'] = array('my_model');<br />
+ |<br />
+ */<br />
+ <br />
+ $autoload['model'] = array();</code></p>
+<h2>Step 4: Add to your database.php </h2>
<p>Make the following changes to your system/application/config/database.php file:</p>
<p>Add the following variable above the database configuration options, with <dfn>$active_group</dfn></p>
<p><code>$active_record = TRUE;</code></p>
@@ -91,7 +103,7 @@ Upgrading from 1.5.4 to 1.6.0
<p><code>$db['default']['char_set'] = &quot;utf8&quot;;<br />
$db['default']['dbcollat'] = &quot;utf8_general_ci&quot;;</code></p>
-<h2>Step 4: Update your user guide</h2>
+<h2>Step 5: Update your user guide</h2>
<p>Please also replace your local copy of the user guide with the new version.</p>
</div>