Initial fix to bug 456: hardwired paths
authorslef <slef>
Tue, 20 May 2003 19:50:41 +0000 (19:50 +0000)
committerslef <slef>
Tue, 20 May 2003 19:50:41 +0000 (19:50 +0000)
marc/updatedb2marc.pl
updater/updatedatabase

index fd8575a..c3d9685 100755 (executable)
@@ -22,7 +22,7 @@ package C4::test;
 
 use strict;
 require Exporter;
-use C4::Context("/etc/koha.conf.tmp");
+use C4::Context;
 use C4::Catalogue;
 use C4::Biblio;
 use MARC::Record;
index 963bab8..1dd7d1b 100755 (executable)
@@ -19,10 +19,7 @@ use strict;
 use DBI;
 
 # Koha modules
-use C4::Context("/etc/koha.conf.tmp");
-
-# FIXME - /etc/koha.conf might not exist, so shouldn't use
-# C4::Context.
+use C4::Context;
 
 # FIXME - The user might be installing a new database, so can't rely
 # on /etc/koha.conf anyway.
@@ -780,6 +777,9 @@ $sth->finish;
 exit;
 
 # $Log$
+# Revision 1.48  2003/05/20 19:50:45  slef
+# Initial fix to bug 456: hardwired paths
+#
 # Revision 1.47  2003/05/15 12:23:33  tipaul
 # adding zipcode and homezipcode into borrowers table (bug #246
 #