[Koha-bugs] [Bug 9316] Add Nginx install options with plack
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Nov 7 12:11:12 CET 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9316
--- Comment #49 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
OK.. I've been trying to narrow down the bug with requiring
Plack::Middleware::Debug.
I've narrowed it down to the following lines in koha.psgi:
enable_if {
$ENV{'KOHA_DEBUG'}
} 'Debug', panels => [[ 'DBITrace', level => 1 ], @$panels ];
I think the logic here is flawed somehow. First up I think it should actually
be:
enable_if {
$_[0]->{'KOHA_DEBUG'}
} 'Debug', panels => [[ 'DBITrace', level => 1 ], @$panels ];
But this also doesn't work. I think the builder checks for the module
availability even if it's not actually to be loaded as part of the enable_if.
I'm baffled.. anyone got any idea's how to fix this?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list