From 160a8ec7684148394f2304d2a84635d2338762aa Mon Sep 17 00:00:00 2001 From: slef Date: Tue, 20 May 2003 19:50:41 +0000 Subject: [PATCH] Initial fix to bug 456: hardwired paths --- marc/updatedb2marc.pl | 2 +- updater/updatedatabase | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/marc/updatedb2marc.pl b/marc/updatedb2marc.pl index fd8575a6b4..c3d9685dfe 100755 --- a/marc/updatedb2marc.pl +++ b/marc/updatedb2marc.pl @@ -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; diff --git a/updater/updatedatabase b/updater/updatedatabase index 963bab87ad..1dd7d1b974 100755 --- a/updater/updatedatabase +++ b/updater/updatedatabase @@ -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 # -- 2.39.5