[Koha-devel] Reports patches

Ernesto Silva - Webmaster silva at ort.edu.uy
Tue Jan 25 10:23:07 CET 2005


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(\@values);


Regards
Ernesto.





More information about the Koha-devel mailing list