diff --git a/LookingGlass.php b/LookingGlass.php index b4e303b..1c0ae45 100644 --- a/LookingGlass.php +++ b/LookingGlass.php @@ -345,7 +345,7 @@ class LookingGlass // kill remaining processes foreach ($pids as $pid) { if (is_numeric($pid)) { - posix_kill($pid, 9); + posix_kill((int) $pid, 9); } } } diff --git a/index.php b/index.php index f9df417..eec0265 100644 --- a/index.php +++ b/index.php @@ -217,7 +217,7 @@ $templateData['csrfToken'] = $_SESSION[LookingGlass::SESSION_CSRF] = bin2hex(ran