Index: /branches/comu-ver2/data/class/helper/SC_Helper_PageLayout.php
===================================================================
--- /branches/comu-ver2/data/class/helper/SC_Helper_PageLayout.php	(revision 18345)
+++ /branches/comu-ver2/data/class/helper/SC_Helper_PageLayout.php	(revision 18549)
@@ -54,5 +54,5 @@
             }
             
-            $url2 = preg_replace('|^' . preg_quote(SITE_URL) . '|', '', $url);
+            $url2 = preg_replace('|^' . preg_quote(URL_DIR) . '|', '', $_SERVER['PHP_SELF']);
             // URLを元にページデザインを取得
             $arrPageData = $this->lfgetPageData("url IN (?, ?) AND page_id <> 0" , array($url2, $url)); // $url は従来互換
