Permalink
Browse files

moving localfiles to tmp

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
  • Loading branch information...
1 parent 9d29ce5 commit 56e102e20e877ba5e66af7aaf195051a553a18e4 Joshua Ferraro committed Oct 21, 2007
Showing with 2 additions and 2 deletions.
  1. +2 −2 C4/AuthoritiesMarc.pm
  2. 0 {localfile → tmp}/modified_authorities/DO_NOT_REMOVE
View
@@ -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;

0 comments on commit 56e102e

Please sign in to comment.