Index: mythweb/includes/init.php
===================================================================
--- mythweb/includes/init.php	(revision 7324)
+++ mythweb/includes/init.php	(working copy)
@@ -133,12 +133,8 @@
     require_once theme_dir."theme.php";
 
 // Make sure the image cache path exists
-    $path = '';
-    foreach (split('/+', image_cache) as $dir) {
-        $path .= $path ? '/' . $dir : $dir;
-        if(!is_dir($path) && !mkdir($path, 0755))
-            trigger_error('Error creating path for '.$path.': Please check permissions.', FATAL);
-    }
+    if(!is_dir(image_cache) && !mkdir(image_cache, 0755))
+        trigger_error('Error creating image cache path "'.image_cache.'": Please check permissions.', FATAL);
 
 // Clean out stale thumbnails
     if (is_dir(image_cache)) {
