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

Steve Tonnesen tonnesen at users.sourceforge.net
Mon Aug 26 19:08:58 CEST 2002


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) {





More information about the Koha-cvs mailing list