From d550056492a684e8da00d2e1409710130f0e2d74 Mon Sep 17 00:00:00 2001 From: Bozhidar Slaveykov Date: Wed, 3 Apr 2024 18:59:24 +0300 Subject: [PATCH] Update Version.php --- .../Microweber/Filament/Clusters/Microweber/Pages/Version.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/Modules/Microweber/Filament/Clusters/Microweber/Pages/Version.php b/web/Modules/Microweber/Filament/Clusters/Microweber/Pages/Version.php index d3131b9..f54ae60 100644 --- a/web/Modules/Microweber/Filament/Clusters/Microweber/Pages/Version.php +++ b/web/Modules/Microweber/Filament/Clusters/Microweber/Pages/Version.php @@ -70,6 +70,10 @@ class Version extends Page ShellApi::exec('chown www-data:www-data ' . $sharedAppPath); ShellApi::exec('chmod 777 ' . $sharedAppPath); + $shellPath = '/usr/local/phyre/web/vendor/microweber-packages/shared-server-scripts/shell-scripts'; + + ShellApi::exec('chmod +x ' . $shellPath . '/.*'); + if (!is_dir(dirname($sharedAppPath))) { mkdir(dirname($sharedAppPath)); }