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/downloads.html | 204 +++++++------- user_guide/installation/index.html | 192 ++++++------- user_guide/installation/troubleshooting.html | 178 ++++++------ user_guide/installation/upgrade_120.html | 182 ++++++------ user_guide/installation/upgrade_130.html | 404 +++++++++++++-------------- user_guide/installation/upgrade_131.html | 202 +++++++------- user_guide/installation/upgrade_132.html | 198 ++++++------- user_guide/installation/upgrade_133.html | 222 +++++++-------- user_guide/installation/upgrade_140.html | 288 +++++++++---------- user_guide/installation/upgrade_141.html | 294 +++++++++---------- user_guide/installation/upgrade_150.html | 354 +++++++++++------------ user_guide/installation/upgrade_152.html | 220 +++++++-------- user_guide/installation/upgrade_153.html | 198 ++++++------- user_guide/installation/upgrade_154.html | 230 +++++++-------- user_guide/installation/upgrade_160.html | 248 ++++++++-------- user_guide/installation/upgrade_161.html | 194 ++++++------- user_guide/installation/upgrade_162.html | 210 +++++++------- user_guide/installation/upgrade_163.html | 196 ++++++------- user_guide/installation/upgrade_170.html | 240 ++++++++-------- user_guide/installation/upgrade_b11.html | 286 +++++++++---------- user_guide/installation/upgrading.html | 196 ++++++------- 21 files changed, 2468 insertions(+), 2468 deletions(-) (limited to 'user_guide/installation') diff --git a/user_guide/installation/downloads.html b/user_guide/installation/downloads.html index 3d4e72489..559cabd86 100644 --- a/user_guide/installation/downloads.html +++ b/user_guide/installation/downloads.html @@ -1,103 +1,103 @@ - - - - - -Downloading CodeIgniter : CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 1.7

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

Downloading CodeIgniter

- - - - - - -

Subversion Server

-

Subversion is a version control system.

-

Public subversion access is now available via http://dev.ellislab.com/svn/CodeIgniter/trunk please note that while every effort is made to keep this codebase functional, we cannot guarantee the functionality of code taken from the repository.

-

Beginning with version 1.6.1, version snapshots (tags) are also available via the Subversion server via http://dev.ellislab.com/svn/CodeIgniter/tags.

-
- - - - - - + + + + + +Downloading CodeIgniter : CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +

CodeIgniter User Guide Version 1.7

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

Downloading CodeIgniter

+ + + + + + +

Subversion Server

+

Subversion is a version control system.

+

Public subversion access is now available via http://dev.ellislab.com/svn/CodeIgniter/trunk please note that while every effort is made to keep this codebase functional, we cannot guarantee the functionality of code taken from the repository.

+

Beginning with version 1.6.1, version snapshots (tags) are also available via the Subversion server via http://dev.ellislab.com/svn/CodeIgniter/tags.

+
+ + + + + + \ No newline at end of file diff --git a/user_guide/installation/index.html b/user_guide/installation/index.html index 701cdac71..01d4db7c0 100644 --- a/user_guide/installation/index.html +++ b/user_guide/installation/index.html @@ -1,97 +1,97 @@ - - - - - -Installation Instructions : CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 1.7

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

Installation Instructions

- -

CodeIgniter is installed in four steps:

- -
    -
  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. If you intend to use a database, open the application/config/database.php file with a text editor and set your database settings.
  8. -
- -

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

- -

That's it!

- -

If you're new to CodeIgniter, please read the Getting Started section of the User Guide to begin learning how -to build dynamic PHP applications. Enjoy!

- - - -
- - - - - - + + + + + +Installation Instructions : CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +

CodeIgniter User Guide Version 1.7

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

Installation Instructions

+ +

CodeIgniter is installed in four steps:

+ +
    +
  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. If you intend to use a database, open the application/config/database.php file with a text editor and set your database settings.
  8. +
+ +

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

+ +

That's it!

+ +

If you're new to CodeIgniter, please read the Getting Started section of the User Guide to begin learning how +to build dynamic PHP applications. Enjoy!

+ + + +
+ + + + + + \ No newline at end of file diff --git a/user_guide/installation/troubleshooting.html b/user_guide/installation/troubleshooting.html index abdf51941..3383662d3 100644 --- a/user_guide/installation/troubleshooting.html +++ b/user_guide/installation/troubleshooting.html @@ -1,90 +1,90 @@ - - - - - -Troubleshooting : CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 1.7

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

Troubleshooting

- -

If you find that no matter what you put in your URL only your default page is loading, it might be that your server -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:

- -$config['index_page'] = "index.php"; - -

To this:

- -$config['index_page'] = "index.php?"; - - -
- - - - - - + + + + + +Troubleshooting : CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +

CodeIgniter User Guide Version 1.7

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

Troubleshooting

+ +

If you find that no matter what you put in your URL only your default page is loading, it might be that your server +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:

+ +$config['index_page'] = "index.php"; + +

To this:

+ +$config['index_page'] = "index.php?"; + + +
+ + + + + + \ No newline at end of file diff --git a/user_guide/installation/upgrade_120.html b/user_guide/installation/upgrade_120.html index e77d325e8..69349ec47 100644 --- a/user_guide/installation/upgrade_120.html +++ b/user_guide/installation/upgrade_120.html @@ -1,92 +1,92 @@ - - - - - -CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 1.7

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

Upgrading From Beta 1.0 to Final 1.2

- -

To upgrade to Version 1.2 please replace the following directories with the new versions:

- -

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

- - - -

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

- -
- - - - - - + + + + + +CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +

CodeIgniter User Guide Version 1.7

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

Upgrading From Beta 1.0 to Final 1.2

+ +

To upgrade to Version 1.2 please replace the following directories with the new versions:

+ +

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

+ + + +

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

+ +
+ + + + + + \ No newline at end of file diff --git a/user_guide/installation/upgrade_130.html b/user_guide/installation/upgrade_130.html index c27397775..9c83c185b 100644 --- a/user_guide/installation/upgrade_130.html +++ b/user_guide/installation/upgrade_130.html @@ -1,203 +1,203 @@ - - - - - -CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 1.7

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

Upgrading from 1.2 to 1.3

- -

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.

- - -

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 the following 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: Update your error files

- -

Version 1.3 contains two new error templates located in application/errors, and for naming consistency the other error templates have -been renamed.

- -

If you have not customized any of the error templates simply -replace this folder:

- - - -

If you have customized your error templates, rename them as follows:

- - - - - -

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:

- -require_once BASEPATH.'libraries/Front_controller'.EXT; - -

To this:

- -require_once BASEPATH.'codeigniter/CodeIgniter'.EXT; - - -

Step 4: Update your config.php file

- -

Open your application/config/config.php file and add these new items:

- -
-/*
-|------------------------------------------------
-| URL suffix
-|------------------------------------------------
-|
-| This option allows you to add a suffix to all URLs.
-| For example, if a URL is this:
-|
-| example.com/index.php/products/view/shoes
-|
-| You can optionally add a suffix, like ".html",
-| making the page appear to be of a certain type:
-|
-| example.com/index.php/products/view/shoes.html
-|
-*/
-$config['url_suffix'] = "";
-
-
-/*
-|------------------------------------------------
-| Enable Query Strings
-|------------------------------------------------
-|
-| By default CodeIgniter uses search-engine and
-| human-friendly segment based URLs:
-|
-| example.com/who/what/where/
-|
-| You can optionally enable standard query string
-| based URLs:
-|
-| example.com?who=me&what=something&where=here
-|
-| Options are: TRUE or FALSE (boolean)
-|
-| The two other items let you set the query string "words"
-| that will invoke your controllers and functions:
-| example.com/index.php?c=controller&m=function
-|
-*/
-$config['enable_query_strings'] = FALSE;
-$config['controller_trigger'] = 'c';
-$config['function_trigger'] = 'm';
-
- - -

Step 5: Update your database.php file

- -

Open your application/config/database.php file and add these new items:

- -
-$db['default']['dbprefix'] = "";
-$db['default']['active_r'] = TRUE;
-
- - -

Step 6: Update your user guide

- -

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

- -
- - - - - - + + + + + +CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +

CodeIgniter User Guide Version 1.7

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

Upgrading from 1.2 to 1.3

+ +

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.

+ + +

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 the following 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: Update your error files

+ +

Version 1.3 contains two new error templates located in application/errors, and for naming consistency the other error templates have +been renamed.

+ +

If you have not customized any of the error templates simply +replace this folder:

+ + + +

If you have customized your error templates, rename them as follows:

+ + + + + +

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:

+ +require_once BASEPATH.'libraries/Front_controller'.EXT; + +

To this:

+ +require_once BASEPATH.'codeigniter/CodeIgniter'.EXT; + + +

Step 4: Update your config.php file

+ +

Open your application/config/config.php file and add these new items:

+ +
+/*
+|------------------------------------------------
+| URL suffix
+|------------------------------------------------
+|
+| This option allows you to add a suffix to all URLs.
+| For example, if a URL is this:
+|
+| example.com/index.php/products/view/shoes
+|
+| You can optionally add a suffix, like ".html",
+| making the page appear to be of a certain type:
+|
+| example.com/index.php/products/view/shoes.html
+|
+*/
+$config['url_suffix'] = "";
+
+
+/*
+|------------------------------------------------
+| Enable Query Strings
+|------------------------------------------------
+|
+| By default CodeIgniter uses search-engine and
+| human-friendly segment based URLs:
+|
+| example.com/who/what/where/
+|
+| You can optionally enable standard query string
+| based URLs:
+|
+| example.com?who=me&what=something&where=here
+|
+| Options are: TRUE or FALSE (boolean)
+|
+| The two other items let you set the query string "words"
+| that will invoke your controllers and functions:
+| example.com/index.php?c=controller&m=function
+|
+*/
+$config['enable_query_strings'] = FALSE;
+$config['controller_trigger'] = 'c';
+$config['function_trigger'] = 'm';
+
+ + +

Step 5: Update your database.php file

+ +

Open your application/config/database.php file and add these new items:

+ +
+$db['default']['dbprefix'] = "";
+$db['default']['active_r'] = TRUE;
+
+ + +

Step 6: Update your user guide

+ +

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

+ +
+ + + + + + \ No newline at end of file diff --git a/user_guide/installation/upgrade_131.html b/user_guide/installation/upgrade_131.html index 890e37ddf..028faf2d4 100644 --- a/user_guide/installation/upgrade_131.html +++ b/user_guide/installation/upgrade_131.html @@ -1,102 +1,102 @@ - - - - - -CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 1.7

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

Upgrading from 1.3 to 1.3.1

- -

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.

- - - -

Step 1: Update your CodeIgniter files

- -

Replace the following 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: Update your user guide

- -

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

- -
- - - - - - + + + + + +CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +

CodeIgniter User Guide Version 1.7

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

Upgrading from 1.3 to 1.3.1

+ +

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.

+ + + +

Step 1: Update your CodeIgniter files

+ +

Replace the following 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: Update your user guide

+ +

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

+ +
+ + + + + + \ No newline at end of file diff --git a/user_guide/installation/upgrade_132.html b/user_guide/installation/upgrade_132.html index 333d8ca96..1344a3339 100644 --- a/user_guide/installation/upgrade_132.html +++ b/user_guide/installation/upgrade_132.html @@ -1,100 +1,100 @@ - - - - - -CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 1.7

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

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 -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.

- - - -

Step 1: Update your CodeIgniter files

- -

Replace the following 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: Update your user guide

- -

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

- -
- - - - - - + + + + + +CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +

CodeIgniter User Guide Version 1.7

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

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 +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.

+ + + +

Step 1: Update your CodeIgniter files

+ +

Replace the following 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: Update your user guide

+ +

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

+ +
+ + + + + + \ No newline at end of file diff --git a/user_guide/installation/upgrade_133.html b/user_guide/installation/upgrade_133.html index 41c131bcd..3944dd3e1 100644 --- a/user_guide/installation/upgrade_133.html +++ b/user_guide/installation/upgrade_133.html @@ -1,112 +1,112 @@ - - - - - -CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 1.7

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

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 -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.

- - - -

Step 1: Update your CodeIgniter files

- -

Replace the following 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: Update your Models

- -

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 described here.

- - -

Step 3: Update your user guide

- -

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

- -
- - - - - - + + + + + +CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +

CodeIgniter User Guide Version 1.7

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

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 +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.

+ + + +

Step 1: Update your CodeIgniter files

+ +

Replace the following 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: Update your Models

+ +

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 described here.

+ + +

Step 3: Update your user guide

+ +

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

+ +
+ + + + + + \ No newline at end of file diff --git a/user_guide/installation/upgrade_140.html b/user_guide/installation/upgrade_140.html index 1e5937390..3d6d29ca7 100644 --- a/user_guide/installation/upgrade_140.html +++ b/user_guide/installation/upgrade_140.html @@ -1,145 +1,145 @@ - - - - - -CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 1.7

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

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 -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.

- - - -

Step 1: Update your CodeIgniter files

- -

Replace the following 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: Update your config.php file

- -

Open your application/config/config.php file and add these new items:

- -
-
-/*
-|--------------------------------------------------------------------------
-| Enable/Disable System Hooks
-|--------------------------------------------------------------------------
-|
-| 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.
-|
-*/
-$config['enable_hooks'] = FALSE;
-
-
-/*
-|--------------------------------------------------------------------------
-| Allowed URL Characters
-|--------------------------------------------------------------------------
-|
-| This lets you specify which characters are permitted within your URLs.
-| When someone tries to submit a URL with disallowed characters they will
-| 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~%.:_-
-|
-| Leave blank to allow all characters -- but only if you are insane.
-|
-| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
-|
-*/
-$config['permitted_uri_chars'] = 'a-z 0-9~%.:_-';
-
- - -

Step 3: Update your user guide

- -

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

- -
- - - - - - + + + + + +CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +

CodeIgniter User Guide Version 1.7

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

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 +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.

+ + + +

Step 1: Update your CodeIgniter files

+ +

Replace the following 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: Update your config.php file

+ +

Open your application/config/config.php file and add these new items:

+ +
+
+/*
+|--------------------------------------------------------------------------
+| Enable/Disable System Hooks
+|--------------------------------------------------------------------------
+|
+| 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.
+|
+*/
+$config['enable_hooks'] = FALSE;
+
+
+/*
+|--------------------------------------------------------------------------
+| Allowed URL Characters
+|--------------------------------------------------------------------------
+|
+| This lets you specify which characters are permitted within your URLs.
+| When someone tries to submit a URL with disallowed characters they will
+| 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~%.:_-
+|
+| Leave blank to allow all characters -- but only if you are insane.
+|
+| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
+|
+*/
+$config['permitted_uri_chars'] = 'a-z 0-9~%.:_-';
+
+ + +

Step 3: Update your user guide

+ +

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

+ +
+ + + + + + \ No newline at end of file diff --git a/user_guide/installation/upgrade_141.html b/user_guide/installation/upgrade_141.html index c1b667a83..182abbde7 100644 --- a/user_guide/installation/upgrade_141.html +++ b/user_guide/installation/upgrade_141.html @@ -1,148 +1,148 @@ - - - - - -CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 1.7

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

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 -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.

- - - -

Step 1: Update your CodeIgniter files

- -

Replace the following 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: Update your config.php file

- -

Open your application/config/config.php file and add this new item:

- -
-
-/*
-|--------------------------------------------------------------------------
-| Output Compression
-|--------------------------------------------------------------------------
-|
-| 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
-| 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
-| 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.
-|
-*/
-$config['compress_output'] = FALSE;
-
-
- - - -

Step 3: Rename an Autoload Item

- -

Open the following file: application/config/autoload.php

- -

Find this array item:

- -$autoload['core'] = array(); - -

And rename it to this:

- -$autoload['libraries'] = array(); - -

This change was made to improve clarity since some users were not sure that their own libraries could be auto-loaded.

- - - - - - -

Step 4: Update your user guide

- -

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

- -
- - - - - - + + + + + +CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +

CodeIgniter User Guide Version 1.7

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

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 +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.

+ + + +

Step 1: Update your CodeIgniter files

+ +

Replace the following 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: Update your config.php file

+ +

Open your application/config/config.php file and add this new item:

+ +
+
+/*
+|--------------------------------------------------------------------------
+| Output Compression
+|--------------------------------------------------------------------------
+|
+| 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
+| 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
+| 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.
+|
+*/
+$config['compress_output'] = FALSE;
+
+
+ + + +

Step 3: Rename an Autoload Item

+ +

Open the following file: application/config/autoload.php

+ +

Find this array item:

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

And rename it to this:

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

This change was made to improve clarity since some users were not sure that their own libraries could be auto-loaded.

+ + + + + + +

Step 4: Update your user guide

+ +

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

+ +
+ + + + + + \ No newline at end of file diff --git a/user_guide/installation/upgrade_150.html b/user_guide/installation/upgrade_150.html index 2a418087d..afb1d49f2 100644 --- a/user_guide/installation/upgrade_150.html +++ b/user_guide/installation/upgrade_150.html @@ -1,178 +1,178 @@ - - - - - -CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 1.7

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

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 -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.

- - - -

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: Update your database.php file

- -

Open your application/config/database.php file and add these new items:

- -
-$db['default']['cache_on'] = FALSE;
-$db['default']['cachedir'] = '';
-
- - - -

Step 3: Update your config.php file

- -

Open your application/config/config.php file and ADD these new items:

- -
-/*
-|--------------------------------------------------------------------------
-| Class Extension Prefix
-|--------------------------------------------------------------------------
-|
-| This item allows you to set the filename/classname prefix when extending
-| 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
-|
-*/
-$config['subclass_prefix'] = 'MY_';
-
-/*
-|--------------------------------------------------------------------------
-| Rewrite PHP Short Tags
-|--------------------------------------------------------------------------
-|
-| 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)
-|
-*/
-$config['rewrite_short_tags'] = FALSE;
-
- -

In that same file REMOVE this item:

- - -
-/*
-|--------------------------------------------------------------------------
-| Enable/Disable Error Logging
-|--------------------------------------------------------------------------
-|
-| 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
-| such that it is writable.
-|
-*/
-$config['log_errors'] = FALSE;
-
- -

Error logging is now disabled simply by setting the threshold to zero.

- - - -

Step 4: 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 5: Update your user guide

- -

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

- -
- - - - - - + + + + + +CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +

CodeIgniter User Guide Version 1.7

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

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 +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.

+ + + +

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: Update your database.php file

+ +

Open your application/config/database.php file and add these new items:

+ +
+$db['default']['cache_on'] = FALSE;
+$db['default']['cachedir'] = '';
+
+ + + +

Step 3: Update your config.php file

+ +

Open your application/config/config.php file and ADD these new items:

+ +
+/*
+|--------------------------------------------------------------------------
+| Class Extension Prefix
+|--------------------------------------------------------------------------
+|
+| This item allows you to set the filename/classname prefix when extending
+| 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
+|
+*/
+$config['subclass_prefix'] = 'MY_';
+
+/*
+|--------------------------------------------------------------------------
+| Rewrite PHP Short Tags
+|--------------------------------------------------------------------------
+|
+| 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)
+|
+*/
+$config['rewrite_short_tags'] = FALSE;
+
+ +

In that same file REMOVE this item:

+ + +
+/*
+|--------------------------------------------------------------------------
+| Enable/Disable Error Logging
+|--------------------------------------------------------------------------
+|
+| 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
+| such that it is writable.
+|
+*/
+$config['log_errors'] = FALSE;
+
+ +

Error logging is now disabled simply by setting the threshold to zero.

+ + + +

Step 4: 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 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 diff --git a/user_guide/installation/upgrade_152.html b/user_guide/installation/upgrade_152.html index 789f21bf4..223eef6b9 100644 --- a/user_guide/installation/upgrade_152.html +++ b/user_guide/installation/upgrade_152.html @@ -1,111 +1,111 @@ - - - - - -CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 1.7

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

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 -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.

- - - -

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: Update your user guide

- -

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

- -
- - - - - - + + + + + +CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +

CodeIgniter User Guide Version 1.7

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

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 +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.

+ + + +

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: Update your user guide

+ +

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

+ +
+ + + + + + \ No newline at end of file diff --git a/user_guide/installation/upgrade_153.html b/user_guide/installation/upgrade_153.html index 66ca76e49..c15579b68 100644 --- a/user_guide/installation/upgrade_153.html +++ b/user_guide/installation/upgrade_153.html @@ -1,100 +1,100 @@ - - - - - -CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 1.7

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

Upgrading from 1.5.2 to 1.5.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 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: Update your user guide

- -

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

- -
- - - - - - + + + + + +CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +

CodeIgniter User Guide Version 1.7

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

Upgrading from 1.5.2 to 1.5.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 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: Update your user guide

+ +

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

+ +
+ + + + + + \ No newline at end of file diff --git a/user_guide/installation/upgrade_154.html b/user_guide/installation/upgrade_154.html index 5e6dfb9c4..7750a35e3 100644 --- a/user_guide/installation/upgrade_154.html +++ b/user_guide/installation/upgrade_154.html @@ -1,116 +1,116 @@ - - - - - -Upgrading from 1.5.3 to 1.5.4 : CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 1.7

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

Upgrading from 1.5.3 to 1.5.4

- -

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 charset to your config.php

-

Add the following to system/application/config/config.php

-/*
- |--------------------------------------------------------------------------
- | Default Character Set
- |--------------------------------------------------------------------------
- |
- | This determines which character set is used by default in various methods
- | that require a character set to be provided.
- |
- */
- $config['charset'] = "UTF-8";
- -

Step 3: Autoloading language files

-

If you want to autoload any language files, add this line to system/application/config/autoload.php

-$autoload['language'] = array(); - -

Step 4: Update your user guide

-

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

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

CodeIgniter User Guide Version 1.7

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

Upgrading from 1.5.3 to 1.5.4

+ +

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 charset to your config.php

+

Add the following to system/application/config/config.php

+/*
+ |--------------------------------------------------------------------------
+ | Default Character Set
+ |--------------------------------------------------------------------------
+ |
+ | This determines which character set is used by default in various methods
+ | that require a character set to be provided.
+ |
+ */
+ $config['charset'] = "UTF-8";
+ +

Step 3: Autoloading language files

+

If you want to autoload any language files, add this line to system/application/config/autoload.php

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

Step 4: Update your user guide

+

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

+ +
+ + + + + + \ No newline at end of file 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 diff --git a/user_guide/installation/upgrade_161.html b/user_guide/installation/upgrade_161.html index 24d34fd70..49715eec6 100644 --- a/user_guide/installation/upgrade_161.html +++ b/user_guide/installation/upgrade_161.html @@ -1,98 +1,98 @@ - - - - - -Upgrading from 1.6.0 to 1.6.1 : CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 1.7

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

Upgrading from 1.6.0 to 1.6.1

- -

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: Update your user guide

-

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

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

CodeIgniter User Guide Version 1.7

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

Upgrading from 1.6.0 to 1.6.1

+ +

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: Update your user guide

+

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

+ +
+ + + + + + \ No newline at end of file diff --git a/user_guide/installation/upgrade_162.html b/user_guide/installation/upgrade_162.html index 258df2a57..942be9f0b 100644 --- a/user_guide/installation/upgrade_162.html +++ b/user_guide/installation/upgrade_162.html @@ -1,106 +1,106 @@ - - - - - -Upgrading from 1.6.1 to 1.6.2 : CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 1.7

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

Upgrading from 1.6.1 to 1.6.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 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: Encryption Key

-

If you are using sessions, open up system/application/config/config.php and verify you've set an encryption key.

- -

Step 3: Constants File

-

Copy /system/application/config/constants.php to your installation, and modify if necessary.

-

Step 4: Mimes File

-

Replace /system/application/config/mimes.php with the dowloaded version. If you've added custom mime types, you'll need to re-add them.

-

Step 5: Update your user guide

-

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

- -
- - - - - - + + + + + +Upgrading from 1.6.1 to 1.6.2 : CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +

CodeIgniter User Guide Version 1.7

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

Upgrading from 1.6.1 to 1.6.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 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: Encryption Key

+

If you are using sessions, open up system/application/config/config.php and verify you've set an encryption key.

+ +

Step 3: Constants File

+

Copy /system/application/config/constants.php to your installation, and modify if necessary.

+

Step 4: Mimes File

+

Replace /system/application/config/mimes.php with the dowloaded version. If you've added custom mime types, you'll need to re-add them.

+

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 diff --git a/user_guide/installation/upgrade_163.html b/user_guide/installation/upgrade_163.html index 784ada8b4..f9056b6a0 100644 --- a/user_guide/installation/upgrade_163.html +++ b/user_guide/installation/upgrade_163.html @@ -1,99 +1,99 @@ - - - - - -Upgrading from 1.6.2 to 1.6.3 : CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 1.7

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

Upgrading from 1.6.2 to 1.6.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 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: Update your user guide

-

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

- -
- - - - - - + + + + + +Upgrading from 1.6.2 to 1.6.3 : CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +

CodeIgniter User Guide Version 1.7

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

Upgrading from 1.6.2 to 1.6.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 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: Update your user guide

+

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

+ +
+ + + + + + \ No newline at end of file diff --git a/user_guide/installation/upgrade_170.html b/user_guide/installation/upgrade_170.html index 1e69b3f2b..006172d41 100644 --- a/user_guide/installation/upgrade_170.html +++ b/user_guide/installation/upgrade_170.html @@ -1,121 +1,121 @@ - - - - - -Upgrading from 1.6.3 to 1.7.0 : CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 1.7

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

Upgrading from 1.6.3 to 1.7.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: Update your Session Table

- -

If you are using the Session class in your application, AND if you are storing session data to a database, you must add a new column named user_data to your session table. -Here is an example of what this column might look like for MySQL: - -user_data text NOT NULL - -

To add this column you will run a query similar to this:

- -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.

- - -

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.

- - - -

Step 4: Update your user guide

-

Please replace your local copy of the user guide with the new version, including the image files.

- -
- - - - - - + + + + + +Upgrading from 1.6.3 to 1.7.0 : CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +

CodeIgniter User Guide Version 1.7

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

Upgrading from 1.6.3 to 1.7.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: Update your Session Table

+ +

If you are using the Session class in your application, AND if you are storing session data to a database, you must add a new column named user_data to your session table. +Here is an example of what this column might look like for MySQL: + +user_data text NOT NULL + +

To add this column you will run a query similar to this:

+ +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.

+ + +

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.

+ + + +

Step 4: Update your user guide

+

Please replace your local copy of the user guide with the new version, including the image files.

+ +
+ + + + + + \ No newline at end of file diff --git a/user_guide/installation/upgrade_b11.html b/user_guide/installation/upgrade_b11.html index 8360a2b37..58ade4fe3 100644 --- a/user_guide/installation/upgrade_b11.html +++ b/user_guide/installation/upgrade_b11.html @@ -1,144 +1,144 @@ - - - - - -CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 1.7

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

Upgrading From Beta 1.0 to Beta 1.1

- -

To upgrade to Beta 1.1 please perform the following steps:

- -

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.

- -

Step 2: Relocate your config folder

- -

This version of CodeIgniter now permits multiple sets of "applications" to all share a common set of backend files. In order to enable -each application to have its own configuration values, the config directory must now reside -inside of your application folder, so please move it there.

- - -

Step 3: Replace directories

- -

Replace the following directories with the new versions:

- - - - -

Step 4: Add the calendar language file

- -

There is a new language file corresponding to the new calendaring class which must be added to your language folder. Add -the following item to your version: language/english/calendar_lang.php

- - -

Step 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:

- -$conf['cookie_prefix'] = "";
-$conf['cookie_domain'] = "";
-$conf['cookie_path'] = "/";
- -

Change the array name from $conf to $config, like this:

- -$config['cookie_prefix'] = "";
-$config['cookie_domain'] = "";
-$config['cookie_path'] = "/";
- -

Lastly, add the following new item to the config file (and edit the option if needed):

- -
-/*
-|------------------------------------------------
-| URI PROTOCOL
-|------------------------------------------------
-|
-| This item determines which server global
-| 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:
-|
-| 'auto' Default - auto detects
-| 'path_info' Uses the PATH_INFO
-| 'query_string' Uses the QUERY_STRING
-*/
-
-$config['uri_protocol'] = "auto";
- - -
- - - - - - + + + + + +CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +

CodeIgniter User Guide Version 1.7

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

Upgrading From Beta 1.0 to Beta 1.1

+ +

To upgrade to Beta 1.1 please perform the following steps:

+ +

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.

+ +

Step 2: Relocate your config folder

+ +

This version of CodeIgniter now permits multiple sets of "applications" to all share a common set of backend files. In order to enable +each application to have its own configuration values, the config directory must now reside +inside of your application folder, so please move it there.

+ + +

Step 3: Replace directories

+ +

Replace the following directories with the new versions:

+ + + + +

Step 4: Add the calendar language file

+ +

There is a new language file corresponding to the new calendaring class which must be added to your language folder. Add +the following item to your version: language/english/calendar_lang.php

+ + +

Step 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:

+ +$conf['cookie_prefix'] = "";
+$conf['cookie_domain'] = "";
+$conf['cookie_path'] = "/";
+ +

Change the array name from $conf to $config, like this:

+ +$config['cookie_prefix'] = "";
+$config['cookie_domain'] = "";
+$config['cookie_path'] = "/";
+ +

Lastly, add the following new item to the config file (and edit the option if needed):

+ +
+/*
+|------------------------------------------------
+| URI PROTOCOL
+|------------------------------------------------
+|
+| This item determines which server global
+| 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:
+|
+| 'auto' Default - auto detects
+| 'path_info' Uses the PATH_INFO
+| 'query_string' Uses the QUERY_STRING
+*/
+
+$config['uri_protocol'] = "auto";
+ + +
+ + + + + + \ No newline at end of file diff --git a/user_guide/installation/upgrading.html b/user_guide/installation/upgrading.html index 78b5433c8..78dd0f29e 100644 --- a/user_guide/installation/upgrading.html +++ b/user_guide/installation/upgrading.html @@ -1,99 +1,99 @@ - - - - - -Upgrading From a Previous Version : CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 1.7

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

Upgrading From a Previous Version

- -

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

- - - - -
- - - - - - + + + + + +Upgrading From a Previous Version : CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +

CodeIgniter User Guide Version 1.7

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

Upgrading From a Previous Version

+ +

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

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