koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-devel] Reports patches


From: Ernesto Silva - Webmaster
Subject: [Koha-devel] Reports patches
Date: Tue Jan 25 10:23:07 2005
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

Paul,

We are using apache2 and some of the paths (require directives) doesn't work. I've discovered a posible "bug" in intranet/cgi-bin/reports/manager.pl and this may be a patch.

--- /usr/local/koha2/intranet/cgi-bin/reports/manager.pl 2005-01-19 10:09:02.315406544 -0300
+++ manager.pl  2005-01-25 16:21:29.159390944 -0300
@@ -41,7 +41,7 @@
                                });
 $template->param(do_it => $do_it,
                report_name => $report_name);
-my $plugin = "./".$report_name.".plugin";
+my $plugin = C4::Context->config('intranetdir')."/cgi-bin/reports/".$report_name.".plugin";
 require $plugin;
 if ($do_it) {
        my $results = calculate(address@hidden);


Regards
Ernesto.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]