From 4c330e5a99567e7ce44353a9bba111c915752f1e Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sat, 10 Jan 2009 20:47:38 +0000 Subject: Continuing baby steps to a batch installer. At this point you can run the installer and it will parse the command line arguments. currently the following arguments are accepted -h(database host) -u(database user) -p(database password) -d(database name) -t(table prefex) or -f(a response file). The order of processing, defaults are set. if the response file is provided, the contained values are merged and finally any command line parameters are merged. --- index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index b1f9eccb..ac285645 100644 --- a/index.php +++ b/index.php @@ -46,9 +46,9 @@ define('THEMEPATH', strtr(realpath('themes') . '/', DIRECTORY_SEPARATOR, '/')); define('SYSPATH', strtr(realpath('kohana') . '/', DIRECTORY_SEPARATOR, '/')); if (!file_exists('var')) { - include DOCROOT . "installer/helpers/system_check.php"; - if (system_check::failed()) { - system_check::display_requirements(); + include DOCROOT . "installer/helpers/installer.php"; + if (installer::failed()) { + installer::display_requirements(); die; } } -- cgit v1.2.3