]> git.mxchange.org Git - friendica.git/blobdiff - index.php
Redirects sometimes only seems to send the hostname and no path. "fetch_url" respects...
[friendica.git] / index.php
index bd5b3e396eede03224986634504e6cd915d1e59b..dd19bb83360e57b18d8b465f2a4ce7ea528ffee1 100644 (file)
--- a/index.php
+++ b/index.php
@@ -41,7 +41,7 @@ load_translation_table($lang);
  *
  */
 
-require_once("dba.php");
+require_once("include/dba.php");
 
 if(! $install) {
        $db = new dba($db_host, $db_user, $db_pass, $db_data, $install);
@@ -54,7 +54,7 @@ if(! $install) {
        load_config('config');
        load_config('system');
 
-       require_once("session.php");
+       require_once("include/session.php");
        load_hooks();
        call_hooks('init_1');
 }
@@ -109,7 +109,7 @@ if((x($_GET,'zrl')) && (! $install)) {
 // header('Link: <' . $a->get_baseurl() . '/amcd>; rel="acct-mgmt";');
 
 if((x($_SESSION,'authenticated')) || (x($_POST,'auth-params')) || ($a->module === 'login'))
-       require("auth.php");
+       require("include/auth.php");
 
 if(! x($_SESSION,'authenticated'))
        header('X-Account-Management-Status: none');