summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrenda Wallace <shiny@cpan.org>2009-06-24 04:04:28 +1200
committerBrenda Wallace <shiny@cpan.org>2009-07-15 18:43:58 +1200
commit8f1b1ffcf04da08193da51544487afa6647ad225 (patch)
treecab0f64074d8ad0bd9de1b90de8babd9984dbe8d
parentb05b998d68ab2d4802ed4ec96abec59332ffe354 (diff)
mysql or pgsql required (not mysql)
-rw-r--r--install.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/install.php b/install.php
index 570b08edf..4e54ba870 100644
--- a/install.php
+++ b/install.php
@@ -48,7 +48,7 @@ function checkPrereqs()
$pass = false;
}
- $reqs = array('gd', 'mysql', 'curl',
+ $reqs = array('gd', 'curl',
'xmlwriter', 'mbstring',
'gettext');
@@ -58,6 +58,10 @@ function checkPrereqs()
$pass = false;
}
}
+ if (!checkExtension('pgsql') && !checkExtension('mysql')) {
+ ?><p class="error">Cannot mysql or pgsql extension. You need one or the other: <code><?php echo $req; ?></code></p><?php
+ $pass = false;
+ }
if (!is_writable(INSTALLDIR)) {
?><p class="error">Cannot write config file to: <code><?php echo INSTALLDIR; ?></code></p>