includes/common.php
changeset 650 e45183014778
parent 613 c08670a77871
child 666 402adf8ea719
equal deleted inserted replaced
649:74e03196fd43 650:e45183014778
   261 if ( enano_version(false, true) != $version && !defined('IN_ENANO_UPGRADE') )
   261 if ( enano_version(false, true) != $version && !defined('IN_ENANO_UPGRADE') )
   262 {
   262 {
   263   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>');
   263   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>');
   264 }
   264 }
   265 
   265 
       
   266 // Set our CDN path
       
   267 define('cdnPath', getConfig('cdn_path', scriptPath));
       
   268 
   266 //
   269 //
   267 // Low level maintenance
   270 // Low level maintenance
   268 //
   271 //
   269 
   272 
   270 // If the AES key size has been changed, bail out and fast
   273 // If the AES key size has been changed, bail out and fast