includes/common.php
changeset 702 15cd41fd8a05
parent 685 17ebe24cdf85
child 711 f70d764aab33
equal deleted inserted replaced
701:dd80cde96a6c 702:15cd41fd8a05
   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/index.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/index.php">upgrade</a>?</p>');
   264 }
   264 }
   265 
   265 
   266 // Set our CDN path
   266 // Set our CDN path
   267 if ( !defined('cdnPath') )
   267 if ( !defined('cdnPath') )
   268   define('cdnPath', getConfig('cdn_path', scriptPath));
   268 {
       
   269   $cdnpath = getConfig('cdn_path', scriptPath);
       
   270   if ( empty($cdnpath) )
       
   271     $cdnpath = scriptPath;
       
   272   define('cdnPath', $cdnpath);
       
   273 }
   269 
   274 
   270 //
   275 //
   271 // Low level maintenance
   276 // Low level maintenance
   272 //
   277 //
   273 
   278