koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/reports manager.pl,1.1,1.2


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha/reports manager.pl,1.1,1.2
Date: Tue, 01 Mar 2005 05:41:35 -0800

Update of /cvsroot/koha/koha/reports
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20915/reports

Modified Files:
        manager.pl 
Log Message:
merging 2.2 branch with head. Sorry for not making it before, many many commits 
done here

Index: manager.pl
===================================================================
RCS file: /cvsroot/koha/koha/reports/manager.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** manager.pl  30 Mar 2004 16:09:04 -0000      1.1
--- manager.pl  1 Mar 2005 13:41:32 -0000       1.2
***************
*** 42,46 ****
  $template->param(do_it => $do_it,
                report_name => $report_name);
! my $plugin = "./".$report_name.".plugin";
  require $plugin;
  if ($do_it) {
--- 42,50 ----
  $template->param(do_it => $do_it,
                report_name => $report_name);
! my $cgidir = C4::Context->config('intranetdir')."/cgi-bin/reports/";
! unless (opendir(DIR, "$cgidir")) {
!       $cgidir = C4::Context->intranetdir."/reports/";
! } 
! my $plugin = $cgidir.$report_name.".plugin";
  require $plugin;
  if ($do_it) {




reply via email to

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