Bugzilla – Attachment 4876 Details for
Bug 6537
Simplified sysprefs for the web installer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch 2/5 - Make web installer use default sysprefs file
0002-Bug-6537-Make-the-web-installer-use-installer-data-m.patch (text/plain), 950 bytes, created by
Magnus Enger
on 2011-08-06 01:19:43 UTC
(
hide
)
Description:
Patch 2/5 - Make web installer use default sysprefs file
Filename:
MIME Type:
Creator:
Magnus Enger
Created:
2011-08-06 01:19:43 UTC
Size:
950 bytes
patch
obsolete
>From 8f5a4f5254997ddf7bfea04efcc3f76f0e79dec2 Mon Sep 17 00:00:00 2001 >From: Magnus Enger <magnus@enger.priv.no> >Date: Tue, 28 Jun 2011 16:10:01 +0200 >Subject: [PATCH 2/5] 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 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6537
:
4524
|
4525
|
4526
|
4875
|
4876
|
4877
|
4878
|
4879
|
4903
|
4904
|
4905