[BUGFIX] Fixes broken installer due to missing serendipity_db_probe() call.
This commit is contained in:
parent
fdb4428191
commit
0b259ce52f
@ -646,6 +646,9 @@ function serendipity_checkInstallation() {
|
|||||||
include_once(S9Y_INCLUDE_PATH . "include/db/{$serendipity['dbType']}.inc.php");
|
include_once(S9Y_INCLUDE_PATH . "include/db/{$serendipity['dbType']}.inc.php");
|
||||||
// For shared installations, probe the file on include path
|
// For shared installations, probe the file on include path
|
||||||
//include_once(S9Y_INCLUDE_PATH . 'include/db/db.inc.php');
|
//include_once(S9Y_INCLUDE_PATH . 'include/db/db.inc.php');
|
||||||
|
if (function_exists('serendipity_db_query')) {
|
||||||
|
serendipity_db_probe($_POST, $errs);
|
||||||
|
}
|
||||||
|
|
||||||
return (count($errs) > 0 ? $errs : '');
|
return (count($errs) > 0 ? $errs : '');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user