mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 22:06:05 +01:00
bug fix: file manager
This commit is contained in:
@@ -674,7 +674,7 @@ fileManager.controller('fileManagerCtrl', function ($scope, $http, FileUploader,
|
||||
var data = {
|
||||
completeStartingPath: completePathToFile,
|
||||
method: "listForTable",
|
||||
home: homePathBack,
|
||||
home: "/",
|
||||
domainRandomSeed: domainRandomSeed,
|
||||
domainName: domainName
|
||||
};
|
||||
@@ -1201,9 +1201,11 @@ fileManager.controller('fileManagerCtrl', function ($scope, $http, FileUploader,
|
||||
pathbase = $scope.currentPath;
|
||||
}
|
||||
|
||||
|
||||
|
||||
$scope.extractionLoading = false;
|
||||
|
||||
var completeFileToExtract = $scope.currentRPath + "/" + allFilesAndFolders[0];
|
||||
var completeFileToExtract = pathbase + "/" + allFilesAndFolders[0];
|
||||
var extractionType = "";
|
||||
|
||||
if (findFileExtension(completeFileToExtract) == "gz") {
|
||||
@@ -1825,4 +1827,4 @@ fileManager.controller('fileManagerCtrl', function ($scope, $http, FileUploader,
|
||||
|
||||
};
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user