X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=5f6d74adb9be383a62e917542f1103f186273d81;hb=ea4c806c5c3adacb6ef585de657e5f34c2e24c98;hp=e43d7332de65c1eba55eb66e0fc5a193eaab4a19;hpb=fd4fe24406edb277814c7a45a6094a8eec0850d7;p=friendica.git diff --git a/index.php b/index.php old mode 100644 new mode 100755 index e43d7332de..5f6d74adb9 --- a/index.php +++ b/index.php @@ -93,12 +93,6 @@ if((x($_SESSION,'language')) && ($_SESSION['language'] !== $lang)) { load_translation_table($lang); } -/* - * Create the page head after setting the language - * - */ - -$a->init_pagehead(); /** * @@ -119,6 +113,16 @@ if((x($_SESSION,'authenticated')) || (x($_POST,'auth-params')) || ($a->module == if(! x($_SESSION,'authenticated')) header('X-Account-Management-Status: none'); + +/* + * Create the page head after setting the language + * and getting any auth credentials + */ + +$a->init_pagehead(); + + + if(! x($_SESSION,'sysmsg')) $_SESSION['sysmsg'] = array();