From 2067d1a727e7eb5e5ffb40e967f3d1fc4c8a41b2 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Thu, 13 Nov 2008 22:59:24 +0000 Subject: Changing EOL style to LF --- user_guide/installation/upgrade_160.html | 248 +++++++++++++++---------------- 1 file changed, 124 insertions(+), 124 deletions(-) (limited to 'user_guide/installation/upgrade_160.html') diff --git a/user_guide/installation/upgrade_160.html b/user_guide/installation/upgrade_160.html index f9b4c3b94..3ca7372b2 100644 --- a/user_guide/installation/upgrade_160.html +++ b/user_guide/installation/upgrade_160.html @@ -1,125 +1,125 @@ - - - - - -Upgrading from 1.5.4 to 1.6.0 : CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 1.7

-
- - - - - - - - - -
- - -
- - - -
- -

Upgrading from 1.5.4 to 1.6.0

- -

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 these files and directories in your "system" folder with the new versions:

- - - -

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

- -

Step 2: Add time_to_update to your config.php

-

Add the following to system/application/config/config.php with the other session configuration options

-

$config['sess_time_to_update'] = 300;

-

Step 3: Add $autoload['model']

-

Add the following to system/application/autoload.php

-

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

-

Step 4: Add to your database.php

-

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

-

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

-

$active_record = TRUE;

-

Remove the following from your database configuration options

-

$db['default']['active_r'] = TRUE;

-

Add the following to your database configuration options

-

$db['default']['char_set'] = "utf8";
-$db['default']['dbcollat'] = "utf8_general_ci";

- -

Step 5: Update your user guide

-

Please also replace your local copy of the user guide with the new version.

- -
- - - - - - + + + + + +Upgrading from 1.5.4 to 1.6.0 : CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +

CodeIgniter User Guide Version 1.7

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

Upgrading from 1.5.4 to 1.6.0

+ +

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 these files and directories in your "system" folder with the new versions:

+ + + +

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

+ +

Step 2: Add time_to_update to your config.php

+

Add the following to system/application/config/config.php with the other session configuration options

+

$config['sess_time_to_update'] = 300;

+

Step 3: Add $autoload['model']

+

Add the following to system/application/autoload.php

+

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

+

Step 4: Add to your database.php

+

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

+

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

+

$active_record = TRUE;

+

Remove the following from your database configuration options

+

$db['default']['active_r'] = TRUE;

+

Add the following to your database configuration options

+

$db['default']['char_set'] = "utf8";
+$db['default']['dbcollat'] = "utf8_general_ci";

+ +

Step 5: Update your user guide

+

Please also replace your local copy of the user guide with the new version.

+ +
+ + + + + + \ No newline at end of file -- cgit v1.2.3-24-g4f1b