mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
do not run admin-cli.php --add-user for Stylite package install
This commit is contained in:
parent
c33a71c5f7
commit
a5f7195462
@ -107,7 +107,10 @@ class setup_cmd_admin extends setup_cmd
|
||||
// to run all hooks (some of them can NOT run inside setup)
|
||||
$cmd = EGW_SERVER_ROOT.'/admin/admin-cli.php --add-user '.
|
||||
escapeshellarg($this->admin_user.'@'.$this->domain.','.$this->admin_password.','.$this->admin_user);
|
||||
if (php_sapi_name() !== 'cli' || !file_exists(EGW_SERVER_ROOT.'/stylite') || file_exists(EGW_SERVER_ROOT.'/managementserver'))
|
||||
{
|
||||
exec($cmd,$output,$ret);
|
||||
}
|
||||
$output = implode("\n",$output);
|
||||
//echo "ret=$ret\n".$output;
|
||||
if ($ret)
|
||||
|
Loading…
Reference in New Issue
Block a user