refactor web installer code to created C4::Installer
authorGalen Charlton <galen.charlton@liblime.com>
Fri, 18 Apr 2008 15:58:29 +0000 (10:58 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Mon, 21 Apr 2008 16:26:23 +0000 (11:26 -0500)
commitecc779fa506ce99612f5184718fe94e937762bf1
tree07dc322fea386e043c220614c8a7fb718250a656
parentac08aef495ca03c8a83e961e76d201eeca02fb01
refactor web installer code to created C4::Installer

Created a new module, C4::Installer, which embodies
most of the code from installer/install.pl that handles
identifying and loading SQL scripts and setting the
Version, marcflavour, FrameworksLoad, and NoZebra
system preferences.

With C4::Installer, it is now easier to automate
initializing and populating a Koha database.  This will
help allow the test suite to set up a test database
in order to run DB-dependent tests, as well as write
a command-line installer which may be of use to hosts
that need to support multiple Koha databases.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Installer.pm [new file with mode: 0644]
installer/install.pl