# HG changeset patch # User Dan # Date 1231727446 18000 # Node ID ab64a963e492fb97c60cae9d622d4beaa2d533ce # Parent 59cce2313f9d5610bf3c1197528cb9727efbe772 Fix version number warning in installer common diff -r 59cce2313f9d -r ab64a963e492 install/includes/common.php --- a/install/includes/common.php Sun Jan 04 01:43:16 2009 -0500 +++ b/install/includes/common.php Sun Jan 11 21:30:46 2009 -0500 @@ -33,7 +33,7 @@ $v = $installer_version['version']; if ( isset($installer_version['sub']) ) { - $v .= ( $short ) ? $keywords[$installer_version['type']] : " {$installer_version['type']} "; + $v .= ( !$long ) ? $keywords[$installer_version['type']] : " {$installer_version['type']} "; $v .= $installer_version['sub']; } return $v; @@ -79,7 +79,7 @@ // is Enano already installed? @include(ENANO_ROOT . '/config.php'); -if ( defined('ENANO_INSTALLED') && defined('ENANO_DANGEROUS') ) +if ( defined('ENANO_INSTALLED') && defined('ENANO_DANGEROUS') && !isset($_GET['debug_warn_php4']) ) { $title = 'Installation locked'; require('includes/common.php');