Index: /tags/eccube-2.1.2/data/class/pages/LC_Page.php
===================================================================
--- /tags/eccube-2.1.2/data/class/pages/LC_Page.php	(revision 17252)
+++ /tags/eccube-2.1.2/data/class/pages/LC_Page.php	(revision 17255)
@@ -213,5 +213,5 @@
      * @see Net_URL
      */
-function getLocation($path, $param = array(), $useSSL = "escape") {
+    function getLocation($path, $param = array(), $useSSL = "escape") {
         $rootPath = $this->getRootPath($path);
 
@@ -259,5 +259,5 @@
             $htmlPath = rtrim(HTML_PATH, "/");
             $rootPath = str_replace($htmlPath, "", $realPath);
-            $rootPath = substr_replace($rootPath, "", 0, strlen(URL_DIR));
+            $rootPath = ltrim($rootPath, "/");
         }
         
