forked from GNUsocial/gnu-social
mysql or pgsql required (not mysql)
This commit is contained in:
parent
b05b998d68
commit
8f1b1ffcf0
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user