From f6b442bba6666f3265680223e1ef9df08b94eb08 Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Sat, 11 Jul 2009 18:23:30 +0000 Subject: add 404 headers to show_404() proper instead of in the error_404.php template --- user_guide/changelog.html | 1 + user_guide/installation/upgrade_172.html | 105 +++++++++++++++++++++++++++++++ 2 files changed, 106 insertions(+) create mode 100644 user_guide/installation/upgrade_172.html (limited to 'user_guide') diff --git a/user_guide/changelog.html b/user_guide/changelog.html index e4199cd35..56081456f 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -88,6 +88,7 @@ SVN Revision:

  • General
  • diff --git a/user_guide/installation/upgrade_172.html b/user_guide/installation/upgrade_172.html new file mode 100644 index 000000000..ee775a33e --- /dev/null +++ b/user_guide/installation/upgrade_172.html @@ -0,0 +1,105 @@ + + + + + +Upgrading from 1.7.1 to 1.7.2 : CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
    + + + + + +

    CodeIgniter User Guide Version 1.7.1

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

    Upgrading from 1.7.1 to 1.7.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: Remove header() from 404 error template

    +

    If you are using header() in your 404 error template, such as the case with the default error_404.php template shown below, remove that line of code.

    + +<?php header("HTTP/1.1 404 Not Found"); ?> + +

    404 status headers are now properly handled in the show_404() method itself.

    + +

    Step 2: 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 -- cgit v1.2.3-24-g4f1b