From 2ed76d5ac89ec7869dcb64c050360fb2f99e9326 Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 2 Sep 2006 17:34:52 +0000 Subject: --- user_guide/general/changelog.html | 2 +- user_guide/general/hooks.html | 6 ++++++ user_guide/installation/upgrade_140.html | 15 ++++++++++++++- 3 files changed, 21 insertions(+), 2 deletions(-) (limited to 'user_guide') diff --git a/user_guide/general/changelog.html b/user_guide/general/changelog.html index 188d8566a..e556684e8 100644 --- a/user_guide/general/changelog.html +++ b/user_guide/general/changelog.html @@ -75,7 +75,7 @@ Change Log
  • Added support for % character in URL.
  • Added the ability to supply full URLs using the anchor() helper function.
  • Added mode parameter to file_write() helper.
  • -
  • Added support for changing the port number in the Postgre driver.
  • +
  • Added support for changing the port number in the Postgre driver.
  • Moved the list of "allowed URI characters" out of the Router class and into the config file.
  • Moved the MIME type array out of the Upload class and into its own file in the applications/config/ folder.
  • Updated the Config Library to be able to load config files silently, and to be able to assign config files to their own index (to avoid collisions if you use multiple config files).
  • diff --git a/user_guide/general/hooks.html b/user_guide/general/hooks.html index 33d343d82..a780a5cdd 100644 --- a/user_guide/general/hooks.html +++ b/user_guide/general/hooks.html @@ -69,6 +69,12 @@ For example, you might want to run a script right before your controllers get lo your own scripts in some other location.

    +

    Enabling Hooks

    + +

    The hooks feature can be globally enabled/disabled by setting the following item in the application/config/config.php file:

    + +$config['enable_hooks'] = TRUE; +

    Defining a Hook

    diff --git a/user_guide/installation/upgrade_140.html b/user_guide/installation/upgrade_140.html index 810d10786..1c72b5d70 100644 --- a/user_guide/installation/upgrade_140.html +++ b/user_guide/installation/upgrade_140.html @@ -89,9 +89,22 @@ have not upgraded to that version please do so first.

    Step 2: Update your config.php file

    -

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

    +

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