mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-14 17:26:17 +01:00
Update managePHP.js
This commit is contained in:
@@ -297,6 +297,11 @@ app.controller('editPHPConfig', function ($scope, $http, $timeout) {
|
||||
|
||||
|
||||
$scope.fetchPHPDetails = function () {
|
||||
var phpSelection = $scope.phpSelection;
|
||||
if (!phpSelection) {
|
||||
return;
|
||||
}
|
||||
|
||||
$scope.loadingPHP = false;
|
||||
$scope.canNotFetch = true;
|
||||
$scope.detailsSaved = true;
|
||||
@@ -309,8 +314,6 @@ app.controller('editPHPConfig', function ($scope, $http, $timeout) {
|
||||
|
||||
url = "/managephp/getCurrentPHPConfig";
|
||||
|
||||
var phpSelection = $scope.phpSelection;
|
||||
|
||||
var data = {
|
||||
phpSelection: phpSelection,
|
||||
};
|
||||
@@ -440,14 +443,16 @@ app.controller('editPHPConfig', function ($scope, $http, $timeout) {
|
||||
};
|
||||
|
||||
$scope.fetchAdvancePHPDetails = function () {
|
||||
var phpSelection = $scope.phpSelection;
|
||||
if (!phpSelection) {
|
||||
return;
|
||||
}
|
||||
|
||||
$scope.loadingPHP = false;
|
||||
$scope.savebtnAdvance = true;
|
||||
|
||||
|
||||
url = "/managephp/getCurrentAdvancedPHPConfig";
|
||||
|
||||
var phpSelection = $scope.phpSelection;
|
||||
|
||||
var data = {
|
||||
phpSelection: phpSelection,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user