use warnings;
use lib '/home/mj/web/gal2';
-use UCW::Gallery;
+use UCW::Gallery qw(%CF);
use File::Spec;
use Image::EXIF;
}
UCW::Gallery::LoadConfig;
-my $orig_prefix = $UCW::Gallery::CF{'OrigDir'};
+my $orig_prefix = $CF{'OrigDir'};
$orig_prefix =~ m{/$} or $orig_prefix .= '/';
print "Scanning photos\n";
file => $rel_name,
id => $id,
orientation => $o,
- xfrm => $UCW::Gallery::CF{'ScanDefaultTransform'},
+ xfrm => $CF{'ScanDefaultTransform'},
title => '',
};
print "ori=$o\n";