koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/admin templates.pl,1.1.2.1,1.1.2.2


From: Steve Tonnesen
Subject: [Koha-cvs] CVS: koha/admin templates.pl,1.1.2.1,1.1.2.2
Date: Mon, 26 Aug 2002 10:08:58 -0700

Update of /cvsroot/koha/koha/admin
In directory usw-pr-cvs1:/tmp/cvs-serv32358/admin

Modified Files:
      Tag: rel-1-2
        templates.pl 
Log Message:
Removed hard coded directories (as reported by Ville Huhtala).


Index: templates.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin/Attic/templates.pl,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -r1.1.2.1 -r1.1.2.2
*** templates.pl        11 Jul 2002 18:05:29 -0000      1.1.2.1
--- templates.pl        26 Aug 2002 17:08:56 -0000      1.1.2.2
***************
*** 15,18 ****
--- 15,22 ----
  
  
+ my $configfile=configfile();
+ my $includes=$configfile->{'includes'};
+ 
+ 
  my $dbh=C4Connect();
  
***************
*** 34,38 ****
  
  my $templateoptions='';
! opendir D, "/usr/local/koha/intranet/htdocs/includes/templates";
  my @dirlist=readdir D;
  foreach (@dirlist) {
--- 38,42 ----
  
  my $templateoptions='';
! opendir D, "$includes/templates";
  my @dirlist=readdir D;
  foreach (@dirlist) {




reply via email to

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