From 55caabc4e7f31b03a3e73fbd2b93afa5e3a986bc Mon Sep 17 00:00:00 2001 From: Adam Zammit Date: Thu, 16 Jun 2016 12:22:32 +1000 Subject: [PATCH] Database and some code changes for compatability with PHP7 / mysqli driver --- admin/index.php | 2 +- config.default.php | 2 +- include/limesurvey/admin/globalsettings.php | 2 +- include/limesurvey/common_functions.php | 2 +- include/limesurvey/config.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/admin/index.php b/admin/index.php index bbc7b1a6..c232f6be 100644 --- a/admin/index.php +++ b/admin/index.php @@ -1,4 +1,4 @@ - FetchRow(); if ($row['usesleft']>0) $utresult = false; diff --git a/include/limesurvey/config.php b/include/limesurvey/config.php index 681316a0..2b1bc7e8 100644 --- a/include/limesurvey/config.php +++ b/include/limesurvey/config.php @@ -31,7 +31,7 @@ require_once(dirname(__FILE__).'/../../config.inc.php'); // Basic Setup -$databasetype = 'mysql'; // ADOdb database driver - valid values are mysql, mysqli, odbc_mssql, mssql_n, odbtp or postgres +$databasetype = 'mysqli'; // ADOdb database driver - valid values are mysql, mysqli, odbc_mssql, mssql_n, odbtp or postgres // mysql: Recommended driver for mysql // mysqli: Slightly faster driver for mysql - not on all server systems available // odbc_mssql: MSSQL driver using ODBC with MS SQL Server