1
0

Fix installer, smartification broke it

Sorry Falk
This commit is contained in:
onli
2013-06-27 21:01:16 +02:00
parent adcb2f3e87
commit 8a188747ae
4 changed files with 4 additions and 8 deletions

@ -625,9 +625,9 @@ function serendipity_checkInstallation() {
$serendipity['dbType'] = $_POST['dbType'];
// Probe database
// (do it after the dir stuff, as we need to be able to create the sqlite database)
@include_once($_POST['serendipityPath'] . 'include/db/db.inc.php');
include_once(S9Y_INCLUDE_PATH . "include/db/{$serendipity['dbType']}.inc.php");
// 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 (S9Y_DB_INCLUDED) {
serendipity_db_probe($_POST, $errs);