Update Version.php

This commit is contained in:
Bozhidar Slaveykov 2024-04-03 18:59:24 +03:00
parent c8cd694dba
commit d550056492

View file

@ -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));
}