install/includes/common.php
changeset 803 ab64a963e492
parent 801 eb8b23f11744
child 812 68060328e9c6
--- 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');