Update Version.php

This commit is contained in:
Bozhidar Slaveykov 2024-04-03 18:57:17 +03:00
parent 5068890756
commit c8cd694dba

View file

@ -63,7 +63,12 @@ class Version extends Page
ShellApi::exec('mkdir -p ' . dirname($sharedAppPath));
ShellApi::exec('chown www-data:www-data ' . dirname($sharedAppPath));
ShellApi::exec('chmod 775 ' . dirname($sharedAppPath));
ShellApi::exec('chmod 777 ' . dirname($sharedAppPath));
ShellApi::exec('mkdir -p ' . $sharedAppPath);
ShellApi::exec('chown www-data:www-data ' . $sharedAppPath);
ShellApi::exec('chmod 777 ' . $sharedAppPath);
if (!is_dir(dirname($sharedAppPath))) {
mkdir(dirname($sharedAppPath));