[pkg-lighttpd] Bug#541645: Bug#600050: /etc/lighttpd/conf-available/15-fastcgi-php.conf: fastcgi-php file missing a required directive

Didar Hossain didar.hossain at gmail.com
Mon Oct 25 06:54:01 UTC 2010


On Sat, Oct 23, 2010 at 8:35 PM, Olaf van der Spek <olafvdspek at gmail.com> wrote:
> On Wed, Oct 20, 2010 at 1:18 PM, Didar Hossain <didar.hossain at gmail.com> wrote:
>>> Patch attached. Please, test it and let me know.
>>>
>>> Currently there is one redundant call `chdir' - but, I didn't want to
>>> mess with the script
>>> much.
>>
>> Wrong patch got attached in the previous mail. This is the correct one.
>
> Hmm, it's way easier then I thought, thanks.
> I've reduced the patch to:
> -                       if (symlink($available{$do}, $target)) {
> +                       if (symlink("../conf-available/" .
> basename($available{$do}), $target)) {

I think it is also best to move the chdir() call out of the "foreach"
loop. Please, put
the chdir() call before the foreach statement -

Didar





More information about the pkg-lighttpd-maintainers mailing list