mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-03-06 12:20:45 +01:00
added check for not-available php versions
This commit is contained in:
@@ -394,6 +394,7 @@ app.controller('servicesManager', function ($scope, $http) {
|
||||
|
||||
|
||||
function ListInitialDatas(response) {
|
||||
console.log(response.data)
|
||||
|
||||
if (response.data.status.litespeed) {
|
||||
$scope.olsStatus = "Running";
|
||||
@@ -408,7 +409,7 @@ app.controller('servicesManager', function ($scope, $http) {
|
||||
$scope.olsStart = true;
|
||||
$scope.olsStop = false;
|
||||
}
|
||||
|
||||
|
||||
if (response.data.status.docker) {
|
||||
$scope.dockerStatus = "Running";
|
||||
$scope.dockerStart = false;
|
||||
|
||||
Reference in New Issue
Block a user