[fusionregistry-commitlog] SF.net SVN: fusionregistry: [33] branches/stable_3_0_x/upload/sources/
Brought to you by:
copland007
From: SVN c. <fus...@li...> - 2008-02-10 05:27:55
|
Revision: 33 http://fusionregistry.svn.sourceforge.net/fusionregistry/?rev=33&view=rev Author: copland007 Date: 2008-02-09 21:28:00 -0800 (Sat, 09 Feb 2008) Log Message: ----------- Hide the installer/upgrader present messages when IN_DEV is set to 1. Modified Paths: -------------- branches/stable_3_0_x/upload/sources/components_acp/fusionscripts/fusionregistry/ad_registry_loader.php Modified: branches/stable_3_0_x/upload/sources/components_acp/fusionscripts/fusionregistry/ad_registry_loader.php =================================================================== --- branches/stable_3_0_x/upload/sources/components_acp/fusionscripts/fusionregistry/ad_registry_loader.php 2008-02-09 23:56:00 UTC (rev 32) +++ branches/stable_3_0_x/upload/sources/components_acp/fusionscripts/fusionregistry/ad_registry_loader.php 2008-02-10 05:28:00 UTC (rev 33) @@ -80,8 +80,8 @@ unset($$k); } - // Installer present? - if ( @file_exists(REGISTRY_PATH.'install/index.php') ) + // Installer present? Don't show this while in DEV mode + if ( !IN_DEV && @file_exists(REGISTRY_PATH.'install/index.php') ) { if ( !@file_exists(REGISTRY_PATH.'install/install.lock') ) { @@ -93,8 +93,8 @@ } } - // Upgrader present? - if ( @file_exists(REGISTRY_PATH.'upgrade/index.php') ) + // Upgrader present? Don't show this while in DEV mode + if ( !IN_DEV && @file_exists(REGISTRY_PATH.'upgrade/index.php') ) { if ( !@file_exists(REGISTRY_PATH.'upgrade/upgrade.lock') ) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |