fixing syscp-fixed syscp-bug #1033 (also lighty -> php.ini per customer/domain);

This commit is contained in:
Michael Kaufmann (d00p)
2010-01-20 12:19:49 +00:00
parent c887699a2c
commit 98e9a78b7c
2 changed files with 9 additions and 2 deletions

View File

@@ -68,7 +68,14 @@ while($row = $db->fetch_array($result_tasks))
}
elseif($settings['system']['webserver'] == "lighttpd")
{
$webserver = new lighttpd($db, $cronlog, $debugHandler, $settings);
if($settings['system']['mod_fcgid'] == 1)
{
$webserver = new lighttpd_fcgid($db, $cronlog, $debugHandler, $settings);
}
else
{
$webserver = new lighttpd($db, $cronlog, $debugHandler, $settings);
}
}
}