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/html/admin/require.php

    r19802 r19805  
    2323 
    2424// rtrim は PHP バージョン依存対策 
    25 define('HTML_FILE_PATH', rtrim(realpath(rtrim(realpath(dirname(__FILE__)), '/\\') . '/../'), '/\\') . '/'); 
     25define('HTML_REALDIR', rtrim(realpath(rtrim(realpath(dirname(__FILE__)), '/\\') . '/../'), '/\\') . '/'); 
    2626define('ADMIN_FUNCTION', true); 
    2727 
    28 require_once HTML_FILE_PATH . 'define.php'; 
    29 require_once HTML_FILE_PATH . 'handle_error.php'; 
     28require_once HTML_REALDIR . 'define.php'; 
     29require_once HTML_REALDIR . 'handle_error.php'; 
    3030 
    31 require_once HTML_FILE_PATH . HTML2DATA_DIR . 'require_base.php'; 
     31require_once HTML_REALDIR . HTML2DATA_DIR . 'require_base.php'; 
    3232 
    3333ob_start(); 
Note: See TracChangeset for help on using the changeset viewer.