From 98e9a78b7c2a3d63c92b3772ec0dafdc2dccb75c Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Wed, 20 Jan 2010 12:19:49 +0000 Subject: [PATCH] fixing syscp-fixed syscp-bug #1033 (also lighty -> php.ini per customer/domain); --- TODO | 2 +- scripts/cron_tasks.php | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index 1ccf836b..dbbdd547 100644 --- a/TODO +++ b/TODO @@ -118,6 +118,6 @@ WONTFIX 0001098 Possibillity to dissable "Catchall" for mails 0001058 Add id/class attributs in tag (left navigation) 0001043 When creating customer it should also be possible to add domains (merge customer & domain menu) 0001035 PHP-Error-Log | Adminpanel & CronTask - 0001033 Cron-Tasks: creating of php.ini +WONTFIX 0001033 Cron-Tasks: creating of php.ini 0001010 Send info mail to customer if webspace is exceeded 0001004 Ressources / Domains - Standard subdomains should be separrated from normal Domains \ No newline at end of file diff --git a/scripts/cron_tasks.php b/scripts/cron_tasks.php index b096b1bd..9da384a7 100644 --- a/scripts/cron_tasks.php +++ b/scripts/cron_tasks.php @@ -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); + } } }