From: Meik S. <acy...@ph...> - 2009-08-25 13:41:29
|
Author: acydburn Date: Tue Aug 25 13:19:57 2009 New Revision: 10056 Log: Fix style recompilation now we do not force the SID to be passed anymore. This also fixes the problems users see after updates, where styles are not always instantly updated, as well as helping style authors a lot. ;) Modified: branches/phpBB-3_0_0/phpBB/style.php Modified: branches/phpBB-3_0_0/phpBB/style.php ============================================================================== *** branches/phpBB-3_0_0/phpBB/style.php (original) --- branches/phpBB-3_0_0/phpBB/style.php Tue Aug 25 13:19:57 2009 *************** *** 92,98 **** if (!$user) { $id = ($id) ? $id : $config['default_style']; ! $recompile = false; $user = array('user_id' => ANONYMOUS); } --- 92,99 ---- if (!$user) { $id = ($id) ? $id : $config['default_style']; ! // Commented out because calls do not always include the SID anymore ! // $recompile = false; $user = array('user_id' => ANONYMOUS); } |