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/require_safe.php

    r19802 r19805  
    2929 
    3030// rtrim は PHP バージョン依存対策 
    31 define("HTML_FILE_PATH", rtrim(realpath(rtrim(realpath(dirname(__FILE__)), '/\\') . '/'), '/\\') . '/'); 
     31define("HTML_REALDIR", rtrim(realpath(rtrim(realpath(dirname(__FILE__)), '/\\') . '/'), '/\\') . '/'); 
    3232 
    33 if (!defined("DATA_FILE_PATH")) { 
    34     define("DATA_FILE_PATH", HTML_FILE_PATH . HTML2DATA_DIR); 
     33if (!defined("DATA_REALDIR")) { 
     34    define("DATA_REALDIR", HTML_REALDIR . HTML2DATA_DIR); 
    3535} 
    3636 
    3737// アプリケーションの初期化処理 
    38 require_once(DATA_FILE_PATH . "app_initial.php"); 
     38require_once(DATA_REALDIR . "app_initial.php"); 
    3939 
    4040// 各種クラス読み込み 
    41 require_once(DATA_FILE_PATH . "require_classes.php"); 
     41require_once(DATA_REALDIR . "require_classes.php"); 
    4242?> 
Note: See TracChangeset for help on using the changeset viewer.