use explicit include paths
This commit is contained in:
parent
f03ac60725
commit
e684324032
29 changed files with 44 additions and 44 deletions
|
|
@ -32,7 +32,7 @@ function install_post(&$a) {
|
|||
$dbdata = notags(trim($_POST['dbdata']));
|
||||
$phpath = notags(trim($_POST['phpath']));
|
||||
|
||||
require_once("dba.php");
|
||||
require_once("include/dba.php");
|
||||
unset($db);
|
||||
$db = new dba($dbhost, $dbuser, $dbpass, $dbdata, true);
|
||||
/*if(get_db_errno()) {
|
||||
|
|
@ -251,7 +251,7 @@ function install_content(&$a) {
|
|||
return $o;
|
||||
}; break;
|
||||
case 3: { // Site settings
|
||||
require_once('datetime.php');
|
||||
require_once('include/datetime.php');
|
||||
$dbhost = ((x($_POST,'dbhost')) ? notags(trim($_POST['dbhost'])) : 'localhost');
|
||||
$dbuser = notags(trim($_POST['dbuser']));
|
||||
$dbpass = notags(trim($_POST['dbpass']));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue