upport db fix
This commit is contained in:
parent
c9e9d93f92
commit
bfc333624d
@ -3,7 +3,7 @@
|
||||
# All rights reserved. See LICENSE file for licensing details
|
||||
|
||||
// PHP 5.5 compat, no longer use deprecated mysql
|
||||
if ($serendipity['dbType'] == 'mysql' && (version_compare(PHP_VERSION, '5.5.0' >= 0) || !function_exits('mysql_connect'))) {
|
||||
if ($serendipity['dbType'] == 'mysql' && (version_compare(PHP_VERSION, '5.5.0') >= 0 || !function_exists('mysql_connect'))) {
|
||||
$serendipity['dbType'] = 'mysqli';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user