Fix the way the base path is calculated.
authorGunnar Wrobel <p@rdus.de>
Tue, 2 Nov 2010 20:03:01 +0000 (21:03 +0100)
committerGunnar Wrobel <p@rdus.de>
Tue, 2 Nov 2010 20:54:12 +0000 (21:54 +0100)
components/lib/Components/Helper/Root.php

index 7a90c91..133dc11 100644 (file)
@@ -64,7 +64,7 @@ class Components_Helper_Root
                     break;
                 }
             }
-            $this->_base .= basename($current) . DIRECTORY_SEPARATOR;
+            $this->_base = basename($current) . DIRECTORY_SEPARATOR . $this->_base;
             $current = dirname($current);
             $i++;
         }