mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 07:13:59 +01:00
Clarify var by calling it ftpRoot
This commit is contained in:
@@ -97,7 +97,7 @@ if ($_GET['action']=="load") {
|
||||
exit;
|
||||
}
|
||||
// Get our file contents and close the FTP connection
|
||||
$loadedFile = toUTF8noBOM(ftpGetContents($ftpConn, $root.$fileLoc."/".$fileName, $ftpMode));
|
||||
$loadedFile = toUTF8noBOM(ftpGetContents($ftpConn, $ftpRoot.$fileLoc."/".$fileName, $ftpMode));
|
||||
ftp_close($ftpConn);
|
||||
// Get local file
|
||||
} else {
|
||||
|
||||
@@ -135,7 +135,7 @@ if (isset($ftpSite)) {
|
||||
exit;
|
||||
}
|
||||
// Get our simple and detailed lists and close the FTP connection
|
||||
$ftpList = ftpGetList($ftpConn, $root.$location);
|
||||
$ftpList = ftpGetList($ftpConn, $ftpRoot.$location);
|
||||
$finalArray = $ftpList['simpleList'];
|
||||
$ftpItems = $ftpList['detailedList'];
|
||||
ftp_close($ftpConn);
|
||||
|
||||
Reference in New Issue
Block a user