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/libraries/ftp.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'user_guide/libraries') 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