mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-22 07:30:25 +00:00
Update Domain.php
This commit is contained in:
parent
5234176826
commit
513583b6e9
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