includes/common.php
changeset 702 15cd41fd8a05
parent 685 17ebe24cdf85
child 711 f70d764aab33
--- a/includes/common.php	Thu Aug 21 11:24:56 2008 -0400
+++ b/includes/common.php	Sat Aug 23 16:02:07 2008 -0400
@@ -265,7 +265,12 @@
 
 // Set our CDN path
 if ( !defined('cdnPath') )
-  define('cdnPath', getConfig('cdn_path', scriptPath));
+{
+  $cdnpath = getConfig('cdn_path', scriptPath);
+  if ( empty($cdnpath) )
+    $cdnpath = scriptPath;
+  define('cdnPath', $cdnpath);
+}
 
 //
 // Low level maintenance