Fix of https://github.com/awssat/kleeja/issues/66
change places only
This commit is contained in:
Mitan Omar
2019-02-24 08:09:40 +01:00
committed by GitHub
parent 6e013fe572
commit 1a9bb74798

View File

@@ -232,9 +232,8 @@ $kleeja_plugin['kj_ftp']['functions'] = array(
$folder = explode(':', $afterFTP[1], 2);
$uniqueName = $folder[0];
$realFolder = $folder[1];
}
if(empty($uniqueName)){
$return_link = getKleejaFtpInstance()->getLink('') . $realFolder;
}else {
@@ -242,6 +241,10 @@ $kleeja_plugin['kj_ftp']['functions'] = array(
}
return compact('return_link');
}
}
},