From 6a10c869e517e63a2d913068497fd3c67277d213 Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Sat, 22 Feb 2020 09:21:22 +0000 Subject: [PATCH] allow existance of pdo for us to proceed with setup --- public/setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/setup.php b/public/setup.php index 5b235262..c39d7a36 100644 --- a/public/setup.php +++ b/public/setup.php @@ -108,7 +108,7 @@ require(dirname(__FILE__) . '/../templates/header.php'); // // Check if there is support for at least 1 database // - if (($f_mysql_connect == 0) and ($f_mysqli_connect == 0) and ($f_pg_connect == 0) and ($f_sqlite_open == 0)) { + if (($f_pdo == 0) and ($f_mysql_connect == 0) and ($f_mysqli_connect == 0) and ($f_pg_connect == 0) and ($f_sqlite_open == 0)) { print "
  • Error: There is no database support in your PHP setup
    \n"; print "To install MySQL 3.23 or 4.0 support on FreeBSD:
    \n"; print "
    % cd /usr/ports/databases/php{$phpversion}-mysql/\n";