mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 08:53:37 +01:00
another error stalling installation
This commit is contained in:
parent
65ad5fc1d0
commit
d13f453f6a
@ -109,9 +109,9 @@ class setup_cmd_admin extends setup_cmd
|
|||||||
// to run all hooks (some of them can NOT run inside setup)
|
// to run all hooks (some of them can NOT run inside setup)
|
||||||
$cmd = EGW_SERVER_ROOT.'/admin/admin-cli.php --add-user '.
|
$cmd = EGW_SERVER_ROOT.'/admin/admin-cli.php --add-user '.
|
||||||
escapeshellarg($this->admin_user.'@'.$this->domain.','.$this->admin_password.','.$this->admin_user);
|
escapeshellarg($this->admin_user.'@'.$this->domain.','.$this->admin_password.','.$this->admin_user);
|
||||||
|
$output = []; $ret = 0;
|
||||||
if (php_sapi_name() !== 'cli' || !file_exists(EGW_SERVER_ROOT.'/stylite') || file_exists(EGW_SERVER_ROOT.'/managementserver'))
|
if (php_sapi_name() !== 'cli' || !file_exists(EGW_SERVER_ROOT.'/stylite') || file_exists(EGW_SERVER_ROOT.'/managementserver'))
|
||||||
{
|
{
|
||||||
$output = $ret = null;
|
|
||||||
exec($cmd,$output,$ret);
|
exec($cmd,$output,$ret);
|
||||||
}
|
}
|
||||||
$output = implode("\n",$output);
|
$output = implode("\n",$output);
|
||||||
|
Loading…
Reference in New Issue
Block a user