From 4f254ffb5b4a74482c6d70dc1858f20c13ee8c01 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 11 Dec 2011 20:32:43 -0800 Subject: system support for personal configurable ajax update interval --- index.php | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index e43d7332d..5f6d74adb 100644 --- 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(); -- cgit v1.2.3