includes/common.php
changeset 354 979d99a0b00e
parent 353 2398420f48e7
child 371 dc6026376919
--- a/includes/common.php	Thu Jan 17 23:31:35 2008 -0500
+++ b/includes/common.php	Fri Jan 18 10:47:24 2008 -0500
@@ -205,7 +205,7 @@
 // Now that we have the config, check the Enano version.
 if ( enano_version(false, true) != $version && !defined('IN_ENANO_UPGRADE') )
 {
-  grinding_halt('Version mismatch', '<p>It seems that the Enano release we\'re trying to run ('.$version.') is different from the version specified in your database ('.enano_version().'). Perhaps you need to <a href="'.scriptPath.'/upgrade.php">upgrade</a>?</p>');
+  grinding_halt('Version mismatch', '<p>It seems that the Enano release we\'re trying to run ('.$version.') is different from the version specified in your database ('.enano_version().'). Perhaps you need to <a href="'.scriptPath.'/install/upgrade.php">upgrade</a>?</p>');
 }
 
 //
@@ -239,7 +239,7 @@
 }
 
 // Is there no default language?
-if ( getConfig('lang_default') === false )
+if ( getConfig('lang_default') === false && !defined('IN_ENANO_MIGRATION') )
 {
   $q = $db->sql_query('SELECT lang_id FROM '.table_prefix.'language LIMIT 1;');
   if ( !$q )