bookwork fix: make php version independant

This commit is contained in:
frederik
2024-02-09 15:35:22 +01:00
parent 2a68bb2e43
commit c100d19da1
4 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ if(isset($_GET['threshold'])) {
}
if(isset($_GET['restart_php']) && $_GET['restart_php'] == "true") {
shell_exec("sudo service php7.4-fpm restart");
shell_exec("sudo service php*-fpm restart");
die();
}