commit | 430b14cccd8e05de5b6b1268239e492ddea8f308 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Fri Jan 03 17:31:26 2014 +0200 |
committer | Andrey Andreev <narf@devilix.net> | Fri Jan 03 17:31:26 2014 +0200 |
tree | 7306fbf9524056d7c539745d60f565303ce8757d | |
parent | af01fb100a153849568cb2a2dc38fb9875d3e37d [diff] [blame] |
Make CI_FTP::mkdir()'s first parameter mandatory (optional doesn't make sense)
diff --git a/system/libraries/Ftp.php b/system/libraries/Ftp.php index 2489f49..84ecf13 100644 --- a/system/libraries/Ftp.php +++ b/system/libraries/Ftp.php
@@ -247,7 +247,7 @@ * @param int $permissions * @return bool */ - public function mkdir($path = '', $permissions = NULL) + public function mkdir($path, $permissions = NULL) { if ($path === '' OR ! $this->_is_conn()) {