use CGI qw ( -utf8 );
use GD;
use C4::Context;
-use C4::Auth;
-use C4::Output;
+use C4::Auth qw( get_template_and_user );
+use C4::Output qw( output_html_with_http_headers );
use Koha::Biblios;
use Koha::CoverImages;
use Koha::Items;
use Koha::UploadedFiles;
-use C4::Log;
-
-my $debug = 1;
+use C4::Log qw( logaction );
my $input = CGI->new;
query => $input,
type => "intranet",
flagsrequired => { tools => 'upload_local_cover_images' },
- debug => 0,
}
);
: ( $line =~ /,/ ) ? ","
: "";
- #$debug and warn "Delimeter is \'$delim\'";
unless ( $delim eq "," || $delim eq "\t" ) {
warn
"Unrecognized or missing field delimeter. Please verify that you are using either a ',' or a 'tab'";