From 3ad8efe07deb3ec27a205815dc9097c20c728e9b Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Fri, 4 Apr 2008 18:56:04 +0000 Subject: added constants.php file and implemented constants for file system modes --- user_guide/changelog.html | 1 + user_guide/installation/upgrade_162.html | 6 ++++-- user_guide/libraries/ftp.html | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'user_guide') diff --git a/user_guide/changelog.html b/user_guide/changelog.html index 4e3ca7ced..af51c0e24 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -64,6 +64,7 @@ Change Log
  • Libraries diff --git a/user_guide/installation/upgrade_162.html b/user_guide/installation/upgrade_162.html index 7fd01ea44..66c498b0f 100644 --- a/user_guide/installation/upgrade_162.html +++ b/user_guide/installation/upgrade_162.html @@ -42,7 +42,7 @@ CodeIgniter Home  ›  User Guide Home  ›  -Upgrading from 1.6.0 to 1.6.1 +Upgrading from 1.6.1 to 1.6.2
    Search User Guide   
    @@ -80,8 +80,10 @@ Upgrading from 1.6.0 to 1.6.1

    Step 2: Encryption Key

    If you are using sessions, open up system/application/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 3: Update your user guide

    +

    Step 4: Update your user guide

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

    diff --git a/user_guide/libraries/ftp.html b/user_guide/libraries/ftp.html index 9e4af8b5d..0e577e9d0 100644 --- a/user_guide/libraries/ftp.html +++ b/user_guide/libraries/ftp.html @@ -258,7 +258,7 @@ Permissions can be set by passed an octal value in the second paramet // Creates a folder named "bar"
    -$this->ftp->mkdir('/public_html/foo/bar/', 0777); +$this->ftp->mkdir('/public_html/foo/bar/', DIR_WRITE_MODE);
    @@ -268,7 +268,7 @@ $this->ftp->mkdir('/public_html/foo/bar/', 0777); // Chmod "bar" to 777
    -$this->ftp->chmod('/public_html/foo/bar/', 0777); +$this->ftp->chmod('/public_html/foo/bar/', DIR_WRITE_MODE);
    -- cgit v1.2.3-24-g4f1b