From 6151661ae01913f1e0885f1951197cdef46194d9 Mon Sep 17 00:00:00 2001 From: absurdo Date: Mon, 27 Nov 2023 14:18:17 +0100 Subject: [PATCH] Added proc_open for execute commands in php --- vendor/phangoapp/leviathanutils/src/Linux.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/phangoapp/leviathanutils/src/Linux.php b/vendor/phangoapp/leviathanutils/src/Linux.php index f652bec..d5ceddb 100644 --- a/vendor/phangoapp/leviathanutils/src/Linux.php +++ b/vendor/phangoapp/leviathanutils/src/Linux.php @@ -280,7 +280,7 @@ class Linux { } - Linux::shell_command("sudo sed -i 's/".$arr_sed[$distro][0]."/".$arr_sed[$distro][1]."/g' ".$arr_sed[$distro][2]}); + Linux::shell_command("sudo sed -i 's/".$arr_sed[$distro][0]."/".$arr_sed[$distro][1]."/g' ".$arr_sed[$distro][2]); }