should fix some problems with cookies (maybe sessions? if only!)

This commit is contained in:
real_nowhereman 2008-03-17 20:20:00 +00:00
parent d8832cd795
commit 12b3af6073

View File

@ -136,18 +136,19 @@
$GLOBALS['smarty'] =& $GLOBALS['_FP_SMARTY'];
$smarty =& $GLOBALS['smarty'];
$GLOBALS['fp_config'] =& config_load();
cookie_setup();
sess_setup();
user_loggedin();
ob_start();
$GLOBALS['theme'] =& theme_loadsettings();
$GLOBALS['lang'] =& lang_load();
cookie_setup();
sess_setup();
user_loggedin();
plugin_loadall();
// init smarty
@ -156,6 +157,7 @@
$smarty->caching = 0;
do_action('init');
ob_end_clean();
}