From 56e102e20e877ba5e66af7aaf195051a553a18e4 Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Sun, 21 Oct 2007 15:11:35 -0500 Subject: [PATCH] moving localfiles to tmp Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- C4/AuthoritiesMarc.pm | 4 ++-- {localfile => tmp}/modified_authorities/DO_NOT_REMOVE | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename {localfile => tmp}/modified_authorities/DO_NOT_REMOVE (100%) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index 506dc3808a..caece1e3e2 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@ -564,13 +564,13 @@ sub ModAuthority { ### they should have a system preference "dontmerge=1" otherwise by default biblios will be updated ### the $merge flag is now depreceated and will be removed at code cleaning if (C4::Context->preference('dontmerge') ){ - # save the file in localfile/modified_authorities + # save the file in tmp/modified_authorities my $cgidir = C4::Context->intranetdir ."/cgi-bin"; unless (opendir(DIR,"$cgidir")) { $cgidir = C4::Context->intranetdir."/"; } - my $filename = $cgidir."/localfile/modified_authorities/$authid.authid"; + my $filename = $cgidir."/tmp/modified_authorities/$authid.authid"; open AUTH, "> $filename"; print AUTH $authid; close AUTH; diff --git a/localfile/modified_authorities/DO_NOT_REMOVE b/tmp/modified_authorities/DO_NOT_REMOVE similarity index 100% rename from localfile/modified_authorities/DO_NOT_REMOVE rename to tmp/modified_authorities/DO_NOT_REMOVE -- 2.20.1