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