diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-09-17 10:02:59 -0700 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-09-17 10:02:59 -0700 |
commit | 7c8e904388952c9331552bec9a728d732149eabb (patch) | |
tree | 2a5152dfcca8fafc111cda9d1e2b0a72ccd24852 /installer/cli.php | |
parent | 88c374dee8b63957b7523850508c9bd7b8c4f100 (diff) | |
parent | 86681eebf7ee2bf28b12fd12ee6a5fe70bc36d0a (diff) |
Merge commit 'upstream/master'
Diffstat (limited to 'installer/cli.php')
-rw-r--r-- | installer/cli.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/installer/cli.php b/installer/cli.php index 50845ea4..182c3d26 100644 --- a/installer/cli.php +++ b/installer/cli.php @@ -30,6 +30,11 @@ if (installer::already_installed()) { return; } +$errors = installer::check_environment(); +if ($errors) { + oops(implode("errors", "\n")); +} + $config = parse_cli_params(); if (!installer::connect($config)) { oops("Unable to connect to the database.\n" . mysql_error() . "\n"); |