summaryrefslogtreecommitdiff
path: root/installer/cli.php
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-09-17 10:02:59 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-09-17 10:02:59 -0700
commit7c8e904388952c9331552bec9a728d732149eabb (patch)
tree2a5152dfcca8fafc111cda9d1e2b0a72ccd24852 /installer/cli.php
parent88c374dee8b63957b7523850508c9bd7b8c4f100 (diff)
parent86681eebf7ee2bf28b12fd12ee6a5fe70bc36d0a (diff)
Merge commit 'upstream/master'
Diffstat (limited to 'installer/cli.php')
-rw-r--r--installer/cli.php5
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");