Changeset 17255


Ignore:
Timestamp:
2008/04/11 13:44:12 (16 years ago)
Author:
satou
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/eccube-2.1.2/data/class/pages/LC_Page.php

    r17252 r17255  
    213213     * @see Net_URL 
    214214     */ 
    215 function getLocation($path, $param = array(), $useSSL = "escape") { 
     215    function getLocation($path, $param = array(), $useSSL = "escape") { 
    216216        $rootPath = $this->getRootPath($path); 
    217217 
     
    259259            $htmlPath = rtrim(HTML_PATH, "/"); 
    260260            $rootPath = str_replace($htmlPath, "", $realPath); 
    261             $rootPath = substr_replace($rootPath, "", 0, strlen(URL_DIR)); 
     261            $rootPath = ltrim($rootPath, "/"); 
    262262        } 
    263263         
Note: See TracChangeset for help on using the changeset viewer.