}
function touch($file, $time = 0, $atime = 0) {
- //Not implmented.
+ //Not implemented.
}
function mkdir($path, $chmod = false, $chown = false, $chgrp = false) {
$path = untrailingslashit($path);
+ if ( empty($path) )
+ return false;
+
if ( ! $chmod )
$chmod = FS_CHMOD_DIR;
if ( ! ssh2_sftp_mkdir($this->sftp_link, $path, $chmod, true) )