mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
fix permissions of header.inc.php to be only readable by webserver
This commit is contained in:
parent
424c7c3c81
commit
080c2bd3d3
@ -372,6 +372,9 @@ if (!isset($GLOBALS['egw_domain']) || $config['domain'] !== 'default' && !isset
|
||||
' --domain '.escapeshellarg($config['domain'].','.$config['db_name'].','.$config['db_user'].','.$config['db_pass'].
|
||||
','.$config['db_type'].','.$config['db_host'].','.$config['db_port']);
|
||||
run_cmd($setup_header);
|
||||
// fix permissions of header.inc.php
|
||||
chown($config['header'], $config['webserver_user']);
|
||||
chmod($config['header'], 0600);
|
||||
|
||||
// install egroupware
|
||||
$setup_install = $setup_cli.' --install '.escapeshellarg($config['domain'].','.$config['config_user'].','.$config['config_passwd'].','.$config['backup'].','.$config['charset'].','.$config['lang'])
|
||||
|
Loading…
Reference in New Issue
Block a user