fix parse error, sorry
This commit is contained in:
parent
3d7f4dc250
commit
1ea154b028
@ -8,7 +8,7 @@ if (defined('S9Y_FRAMEWORK_DB')) {
|
||||
@define('S9Y_FRAMEWORK_DB', true);
|
||||
|
||||
// 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_exits('mysql_connect'))) {
|
||||
$serendipity['dbType'] = 'mysqli';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user