mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-25 09:00:27 +00:00
Merge branch 'main' of https://github.com/PhyreApps/PhyrePanel
This commit is contained in:
commit
75614c1626
1 changed files with 2 additions and 3 deletions
|
@ -194,9 +194,8 @@ class Domain extends Model
|
|||
if (!is_dir($this->domain_root.'/logs/apache2')) {
|
||||
shell_exec('mkdir -p '.$this->domain_root.'/logs/apache2');
|
||||
}
|
||||
|
||||
shell_exec('chown -R '.$findHostingSubscription->system_username.':'.$webUserGroup.' /var/log/phyre/domains/'.$this->domain);
|
||||
shell_exec('chmod -R 0755 /var/log/phyre/domains/'.$this->domain);
|
||||
shell_exec('chown -R '.$findHostingSubscription->system_username.':'.$webUserGroup.' '.$this->domain_root.'/logs/apache2');
|
||||
shell_exec('chmod -R 775 '.$this->domain_root.'/logs/apache2');
|
||||
|
||||
$appType = 'php';
|
||||
$appVersion = '8.3';
|
||||
|
|
Loading…
Reference in a new issue