Added check for deactivated fcgid settings, fixes #725
Thanks to crazy4chrissi.
This commit is contained in:
@@ -171,7 +171,7 @@ fwrite($debugHandler, 'Froxlor settings have been loaded from the database' . "\
|
|||||||
* if settings['system']['mod_fcgid_ownvhost'] is set, we have to check
|
* if settings['system']['mod_fcgid_ownvhost'] is set, we have to check
|
||||||
* whether the permission of the files are still correct
|
* whether the permission of the files are still correct
|
||||||
*/
|
*/
|
||||||
if((int)$settings['system']['mod_fcgid_ownvhost'] == 1)
|
if((int)$settings['system']['mod_fcgid'] == 1 && (int)$settings['system']['mod_fcgid_ownvhost'] == 1)
|
||||||
{
|
{
|
||||||
fwrite($debugHandler, 'Checking froxlor file permissions');
|
fwrite($debugHandler, 'Checking froxlor file permissions');
|
||||||
$mypath = makeCorrectDir(dirname(dirname(__FILE__))); // /var/www/froxlor, needed for chown
|
$mypath = makeCorrectDir(dirname(dirname(__FILE__))); // /var/www/froxlor, needed for chown
|
||||||
|
|||||||
Reference in New Issue
Block a user