summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-08-23 21:36:19 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-08-23 21:36:41 +0200
commit569cfd717f921b8927d1c7a0fe09abc72f3965a8 (patch)
tree1db1bf3ead7e0175ad79df9d86f0c0dd7faebe8d
parent09ba6d8f3d43b6957284012039c510ce199f2727 (diff)
install.php: Test for composer
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--install.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/install.php b/install.php
index 6e3dee03c..e9cf8611c 100644
--- a/install.php
+++ b/install.php
@@ -53,6 +53,14 @@ if ($buf != "0") {
$errors .= " - Error when testing imagemagick (convert): Return code was \"$buf\".\n";
}
+// test composer
+ob_start();
+passthru("composer --version 2>&1", $buf);
+ob_end_clean();
+if ($buf != "0") {
+ $errors .= " - Error when testing composer: Return code was \"$buf\".\n";
+}
+
// test PHP modules
$mod_groups = array(
"thumbnail generation" => array("gd"),