Ignore:
Timestamp:
2008/07/18 12:17:05 (14 years ago)
Author:
naka
Message:

require.phpを1ファイルに統合

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2/html/require.php

    r17118 r17438  
    2222 */ 
    2323 
    24 $include_dir = realpath(dirname( __FILE__)); 
    25 require_once($include_dir . "/define.php"); 
     24$require_php_dir = realpath(dirname( __FILE__)); 
     25require_once($require_php_dir . "/define.php"); 
     26 
    2627if (!defined("CLASS_PATH")) { 
    2728    /** クラスパス */ 
    28     define("CLASS_PATH", $include_dir . HTML2DATA_DIR . "class/"); 
     29    define("CLASS_PATH", $require_php_dir . HTML2DATA_DIR . "class/"); 
    2930} 
    3031 
    3132if (!defined("CLASS_EX_PATH")) { 
    3233    /** クラスパス */ 
    33     define("CLASS_EX_PATH", $include_dir . HTML2DATA_DIR . "class_extends/"); 
     34    define("CLASS_EX_PATH", $require_php_dir . HTML2DATA_DIR . "class_extends/"); 
    3435} 
    3536 
    3637if (!defined("CACHE_PATH")) { 
    3738    /** キャッシュ生成ディレクトリ */ 
    38     define("CACHE_PATH", $include_dir . HTML2DATA_DIR . "cache/"); 
     39    define("CACHE_PATH", $require_php_dir . HTML2DATA_DIR . "cache/"); 
    3940} 
    4041require_once(CLASS_EX_PATH . "SC_Initial_Ex.php"); 
     
    4445 
    4546 
    46 require_once($include_dir . HTML2DATA_DIR . "include/module.inc"); 
     47require_once($require_php_dir . HTML2DATA_DIR . "include/module.inc"); 
    4748require_once(CLASS_EX_PATH . "util_extends/GC_Utils_Ex.php"); 
    4849require_once(CLASS_EX_PATH . "util_extends/SC_Utils_Ex.php"); 
     
    7677require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_Mail_Ex.php"); 
    7778require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_Mobile_Ex.php"); 
    78 include_once($include_dir . "/require_plugin.php"); 
     79include_once($require_php_dir . "/require_plugin.php"); 
    7980 
    8081// セッションハンドラ開始 
Note: See TracChangeset for help on using the changeset viewer.