summaryrefslogtreecommitdiffstats
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
parentaf01fb100a153849568cb2a2dc38fb9875d3e37d (diff)
Make CI_FTP::mkdir()'s first parameter mandatory (optional doesn't make sense)
-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())
{