Instalator fixes and lots and lots of other bugfixes

This commit is contained in:
Vojtěch Sajdl
2018-01-12 21:35:31 +01:00
parent e19fd0d3c2
commit c25e8bcae8
16 changed files with 434 additions and 170 deletions
+3 -2
View File
@@ -75,7 +75,7 @@ class Service
$stmt->bind_param("s", $name);
$stmt->execute();
$query = $stmt->get_result();
header("Location: /admin/?do=settings");
header("Location: ".WEB_URL."/admin/?do=settings");
}else
{
$message = _("You don't have the permission to do that!");
@@ -116,7 +116,7 @@ class Service
$stmt->execute();
$query = $stmt->get_result();
header("Location: /admin/?do=settings");
header("Location: ".WEB_URL."/admin/?do=settings");
}
else
{
@@ -133,6 +133,7 @@ class Service
global $all, $some, $classes;
$statuses = array(0,0,0,0);
$worst = 5;
foreach ($array as $service) {
if ($service->status<$worst)
{