From 7879fd27774b370f11edb45c1aaa61e2af652241 Mon Sep 17 00:00:00 2001 From: andi Date: Sun, 1 May 2005 18:15:12 +0200 Subject: just a few small fixes #299 darcs-hash:20050501161512-9977f-c74a1814bfc6844e019e27a32b2a459888172a0b.gz --- inc/html.php | 2 +- inc/io.php | 2 +- inc/parserutils.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'inc') diff --git a/inc/html.php b/inc/html.php index 0b724bd3e..c03e9d31c 100644 --- a/inc/html.php +++ b/inc/html.php @@ -991,7 +991,7 @@ function html_admin(){ ptln(''); } diff --git a/inc/io.php b/inc/io.php index f6ad79a4e..3981757da 100644 --- a/inc/io.php +++ b/inc/io.php @@ -197,7 +197,7 @@ function io_mkdir_ftp($dir){ //create directory $ok = ftp_mkdir($conn, $dir); //set permissions (using the directory umask) - ftp_site($conn,sprintf("CHMOD %04o %s",$perm & (0777 - $conf['dmask']),$dir)); + ftp_site($conn,sprintf("CHMOD %04o %s",(0777 - $conf['dmask']),$dir)); ftp_close($conn); return $ok; diff --git a/inc/parserutils.php b/inc/parserutils.php index 4f90364aa..faeb620e7 100644 --- a/inc/parserutils.php +++ b/inc/parserutils.php @@ -212,7 +212,7 @@ function p_get_instructions($text){ $Parser->addMode('eol',new Doku_Parser_Mode_Eol()); // Do the parsing - $p = $Parser->parse($text); + $p = $Parser->parse($text); # dbg($p); return $p; } -- cgit v1.2.3