fix include paths
This commit is contained in:
parent
83e086edcd
commit
ff56e95c6e
@ -50,7 +50,7 @@ if(! $install) {
|
||||
load_config('system');
|
||||
load_config('feature');
|
||||
|
||||
require_once("session.php");
|
||||
require_once("include/session.php");
|
||||
load_hooks();
|
||||
call_hooks('init_1');
|
||||
|
||||
@ -102,7 +102,7 @@ if((x($_GET,'zid')) && (! $install)) {
|
||||
}
|
||||
|
||||
if((x($_SESSION,'authenticated')) || (x($_POST,'auth-params')) || ($a->module === 'login'))
|
||||
require("auth.php");
|
||||
require("include/auth.php");
|
||||
|
||||
|
||||
if(! x($_SESSION,'sysmsg'))
|
||||
|
@ -286,7 +286,7 @@ function setup_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');
|
||||
$dbport = intval(notags(trim($_POST['dbuser'])));
|
||||
$dbuser = notags(trim($_POST['dbuser']));
|
||||
|
Reference in New Issue
Block a user