Ignore:
Timestamp:
2010/12/31 23:23:49 (13 years ago)
Author:
Seasoft
Message:

#834(パラメータの定数名に「URL」を含むにもかかわらず、パスのみのものがある) 一部実装

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/pages/LC_Page.php

    r19802 r19805  
    2323 
    2424// {{{ requires 
    25 require_once(DATA_FILE_PATH . 'module/Net/URL.php'); 
     25require_once(DATA_REALDIR . 'module/Net/URL.php'); 
    2626 
    2727/** 
     
    342342        // Windowsの場合は, ディレクトリの区切り文字を\から/に変換する 
    343343        $path = str_replace('\\', '/', $path); 
    344         $htmlPath = str_replace('\\', '/', HTML_FILE_PATH); 
     344        $htmlPath = str_replace('\\', '/', HTML_REALDIR); 
    345345         
    346346        // PHP 5.1 対策 ( http://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=4277&forum=9 ) 
     
    363363        } 
    364364         
    365         // HTML_FILE_PATH を削除した文字列を取得. 
     365        // HTML_REALDIR を削除した文字列を取得. 
    366366        $rootPath = str_replace($htmlPath, '', $realPath); 
    367367        $rootPath = ltrim($rootPath, '/'); 
Note: See TracChangeset for help on using the changeset viewer.