summaryrefslogtreecommitdiffstats
path: root/system/libraries/Ftp.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-01-03 16:31:26 +0100
committerAndrey Andreev <narf@devilix.net>2014-01-03 16:31:26 +0100
commit430b14cccd8e05de5b6b1268239e492ddea8f308 (patch)
tree7306fbf9524056d7c539745d60f565303ce8757d /system/libraries/Ftp.php
parentaf01fb100a153849568cb2a2dc38fb9875d3e37d (diff)
Make CI_FTP::mkdir()'s first parameter mandatory (optional doesn't make sense)
Diffstat (limited to 'system/libraries/Ftp.php')
-rw-r--r--system/libraries/Ftp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Ftp.php b/system/libraries/Ftp.php
index 2489f490f..84ecf133c 100644
--- a/system/libraries/Ftp.php
+++ b/system/libraries/Ftp.php
@@ -247,7 +247,7 @@ class CI_FTP {
* @param int $permissions
* @return bool
*/
- public function mkdir($path = '', $permissions = NULL)
+ public function mkdir($path, $permissions = NULL)
{
if ($path === '' OR ! $this->_is_conn())
{