Add Install Mode
- fixed mistake
This commit is contained in:
@@ -51,7 +51,7 @@ function install_post(App $a) {
|
|||||||
$phpath = notags(trim($_POST['phpath']));
|
$phpath = notags(trim($_POST['phpath']));
|
||||||
|
|
||||||
require_once("include/dba.php");
|
require_once("include/dba.php");
|
||||||
if (!dba::connect($dbhost, $dbuser, $dbpass, $dbdata, true)) {
|
if (!dba::connect($dbhost, $dbuser, $dbpass, $dbdata)) {
|
||||||
$a->data['db_conn_failed'] = true;
|
$a->data['db_conn_failed'] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user