Skip to content

Commit

Permalink
define array for mod_php users, fixes #1555
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
  • Loading branch information
d00p committed Sep 14, 2015
1 parent 5ead5e9 commit 0b901af
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions scripts/jobs/cron_tasks.inc.http.10.apache.php
Expand Up @@ -299,6 +299,20 @@ public function createIpPort() {
$this->virtualhosts_data[$vhosts_filename] .= ' Alias /fastcgiphp ' . $php->getInterface()->getAliasConfigDir() . $srvName . "\n";
}
}
else
{
// mod_php
$domain = array(
'id' => 'none',
'domain' => Settings::Get('system.hostname'),
'adminid' => 1, /* first admin-user (superadmin) */
'guid' => Settings::Get('system.httpuser'),
'openbasedir' => 0,
'email' => Settings::Get('panel.adminmail'),
'loginname' => 'froxlor.panel',
'documentroot' => $mypath
);
}

/**
* dirprotection, see #72
Expand Down

0 comments on commit 0b901af

Please sign in to comment.