From: <pri...@us...> - 2008-05-03 22:39:40
|
Revision: 5238 http://mantisbt.svn.sourceforge.net/mantisbt/?rev=5238&view=rev Author: prichards Date: 2008-05-03 15:39:36 -0700 (Sat, 03 May 2008) Log Message: ----------- previous commit should check db is connected. Modified Paths: -------------- trunk/mantisbt/core.php Modified: trunk/mantisbt/core.php =================================================================== --- trunk/mantisbt/core.php 2008-05-03 21:06:37 UTC (rev 5237) +++ trunk/mantisbt/core.php 2008-05-03 22:39:36 UTC (rev 5238) @@ -193,4 +193,9 @@ if ( !isset( $g_bypass_headers ) && !headers_sent() ) { header( 'Content-type: text/html;charset=' . lang_get( 'charset' ) ); } + + # every page displays project dropdown box, so cache project information very early + if ( db_is_connected() ) { + project_cache_all(); + } ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |