Revision 672
Added by thorn almost 17 years ago
functions.php | ||
---|---|---|
108 | 108 |
if(is_dir("$directory/$entry")) { |
109 | 109 |
chmod_directory_contents("$directory/$entry", $file_mode); |
110 | 110 |
} |
111 |
change_mode($directory.'/'.$entry, 'file');
|
|
111 |
change_mode($directory.'/'.$entry); |
|
112 | 112 |
} |
113 | 113 |
|
114 | 114 |
// Restore the umask |
... | ... | |
480 | 480 |
fwrite($handle, $content); |
481 | 481 |
fclose($handle); |
482 | 482 |
// Chmod the file |
483 |
change_mode($filename, 'file');
|
|
483 |
change_mode($filename); |
|
484 | 484 |
} |
485 | 485 |
} |
486 | 486 |
|
Also available in: Unified diff
removed wrong parameter from change_mode()-calls in function.php