issue 160, changed "__XE_CDN_VERSION__" to convertion character

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9362 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2011-09-27 08:28:59 +00:00
parent ed1a4543b5
commit a418b17f5d
2 changed files with 3 additions and 3 deletions

View file

@ -135,7 +135,7 @@
$result = array(); $result = array();
foreach($map as $file) foreach($map as $file)
{ {
if ($useCdn == 'Y' && $file->useCdn) if ($useCdn == 'Y' && $file->useCdn && $file->cdnVersion != '%__XE_CDN_VERSION__%')
{ {
$fullFilePath = $file->cdnPrefix . $file->cdnVersion . '/' . substr($file->cdnPath, 2) . '/' . $file->fileName; $fullFilePath = $file->cdnPrefix . $file->cdnVersion . '/' . substr($file->cdnPath, 2) . '/' . $file->fileName;
} }
@ -170,7 +170,7 @@
$result = array(); $result = array();
foreach($map as $file) foreach($map as $file)
{ {
if ($useCdn == 'Y' && $file->useCdn) if ($useCdn == 'Y' && $file->useCdn && $file->cdnVersion != '%__XE_CDN_VERSION__%')
{ {
$fullFilePath = $file->cdnPrefix . $file->cdnVersion . '/' . substr($file->cdnPath, 2) . '/' . $file->fileName; $fullFilePath = $file->cdnPrefix . $file->cdnVersion . '/' . substr($file->cdnPath, 2) . '/' . $file->fileName;
} }

View file

@ -132,7 +132,7 @@
/** /**
* @brief CDN version * @brief CDN version
**/ **/
if(!defined('__XE_CDN_VERSION__')) define('__XE_CDN_VERSION__', 'alpha2'); if(!defined('__XE_CDN_VERSION__')) define('__XE_CDN_VERSION__', '%__XE_CDN_VERSION__%');
/** /**
* @brief Require specific files when using Firebug console output * @brief Require specific files when using Firebug console output