includes/common.php
changeset 1260 cd72bcd83401
parent 1259 49db7495f6b8
child 1263 eb717f5c283f
equal deleted inserted replaced
1259:49db7495f6b8 1260:cd72bcd83401
   286 	grinding_halt('Database newer than Enano', '<p>Your Enano database is a newer revision than what this Enano release calls for. Please upgrade your Enano files.</p>'
   286 	grinding_halt('Database newer than Enano', '<p>Your Enano database is a newer revision than what this Enano release calls for. Please upgrade your Enano files.</p>'
   287 		. "<p>Your database version: $current_db_revision<br />Latest version: $db_version</p>");
   287 		. "<p>Your database version: $current_db_revision<br />Latest version: $db_version</p>");
   288 }
   288 }
   289 
   289 
   290 // If we made it here, DB is up to date.
   290 // If we made it here, DB is up to date.
   291 if ( getConfig('enano_version') !== $version && !preg_match('/^upg-/', getConfig('enano_version')) )
   291 if ( getConfig('enano_version') !== $version && !preg_match('/^upg-/', getConfig('enano_version')) && !defined('IN_ENANO_UPGRADE') )
   292 {
   292 {
   293 	setConfig('enano_version', $version);
   293 	setConfig('enano_version', $version);
   294 	setConfig('newly_upgraded', 1);
   294 	setConfig('newly_upgraded', 1);
   295 }
   295 }
   296 
   296