From 425968fd77e408b5b612819bb00bfbb6ddc7853b Mon Sep 17 00:00:00 2001 From: Magnus Enger Date: Tue, 28 Jun 2011 16:10:01 +0200 Subject: [PATCH 2/3] Bug 6537 - Make the web installer use installer/data/mysql/sysprefs.sql --- C4/Installer.pm | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/C4/Installer.pm b/C4/Installer.pm index 80ef627..1c177b9 100644 --- a/C4/Installer.pm +++ b/C4/Installer.pm @@ -354,6 +354,9 @@ sub load_sql_in_order { $request->execute; my ($systempreference) = $request->fetchrow; $systempreference = '' unless defined $systempreference; # avoid warning + # 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); foreach my $file (@fnames) { # warn $file; undef $/; -- 1.7.4.1