From bf444c951539f83926f1aea4895596b97b8b1eee Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel
Date: Tue, 2 Nov 2010 21:03:01 +0100 Subject: [PATCH] Fix the way the base path is calculated. --- components/lib/Components/Helper/Root.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/Components/Helper/Root.php b/components/lib/Components/Helper/Root.php index 7a90c91bd..133dc1189 100644 --- a/components/lib/Components/Helper/Root.php +++ b/components/lib/Components/Helper/Root.php @@ -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++; } -- 2.11.0