our $VERSION = 3.07.00.049;
use C4::Context;
use C4::Installer::PerlModules;
+use DBI;
use Koha;
=head1 NAME
# Make sure the global sysprefs.sql file is loaded first
my $globalsysprefs = C4::Context->config('intranetdir') . "/installer/data/$self->{dbms}/sysprefs.sql";
unshift(@fnames, $globalsysprefs);
+ push @fnames, C4::Context->config('intranetdir') . "/installer/data/mysql/userflags.sql";
+ push @fnames, C4::Context->config('intranetdir') . "/installer/data/mysql/userpermissions.sql";
+ push @fnames, C4::Context->config('intranetdir') . "/installer/data/mysql/audio_alerts.sql";
foreach my $file (@fnames) {
# warn $file;
undef $/;
$error = qx($strcmd -f $filename 2>&1 1>/dev/null);
# Be sure to set 'client_min_messages = error' in postgresql.conf
# so that only true errors are returned to stderr or else the installer will
- # report the import a failure although it really succeded -fbcit
+ # report the import as a failure although it really succeeded -fbcit
}
# errors thrown while loading installer data should be logged
if($error) {