Changeset 17477 for branches/comu-ver2/html/require.php
- Timestamp:
- 2008/07/29 20:55:08 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/html/require.php
r17137 r17477 22 22 */ 23 23 24 $include_dir = realpath(dirname( __FILE__)); 25 require_once($include_dir . "/define.php"); 24 $include_dir = realpath(dirname( __FILE__)) . '/'; 25 26 if (!defined("HTML_PATH")) { 27 define("HTML_PATH", realpath($include_dir) . '/'); 28 } 29 30 require_once(HTML_PATH . "define.php"); 31 32 if (!defined("DATA_PATH")) { 33 define("DATA_PATH", HTML_PATH . HTML2DATA_DIR); 34 } 35 26 36 if (!defined("CLASS_PATH")) { 27 37 /** クラスパス */ 28 define("CLASS_PATH", $include_dir . HTML2DATA_DIR. "class/");38 define("CLASS_PATH", DATA_PATH . "class/"); 29 39 } 30 40 31 41 if (!defined("CLASS_EX_PATH")) { 32 42 /** クラスパス */ 33 define("CLASS_EX_PATH", $include_dir . HTML2DATA_DIR. "class_extends/");43 define("CLASS_EX_PATH", DATA_PATH . "class_extends/"); 34 44 } 35 45 36 46 if (!defined("CACHE_PATH")) { 37 47 /** キャッシュ生成ディレクトリ */ 38 define("CACHE_PATH", $include_dir . HTML2DATA_DIR. "cache/");48 define("CACHE_PATH", DATA_PATH . "cache/"); 39 49 } 40 50 require_once(CLASS_EX_PATH . "SC_Initial_Ex.php"); … … 44 54 45 55 46 require_once( $include_dir . HTML2DATA_DIR. "include/module.inc");56 require_once(DATA_PATH . "include/module.inc"); 47 57 require_once(CLASS_EX_PATH . "util_extends/GC_Utils_Ex.php"); 48 58 require_once(CLASS_EX_PATH . "util_extends/SC_Utils_Ex.php"); … … 76 86 require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_Mail_Ex.php"); 77 87 require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_Mobile_Ex.php"); 78 include_once($include_dir . " /require_plugin.php");88 include_once($include_dir . "require_plugin.php"); 79 89 80 90 // セッションハンドラ開始
Note: See TracChangeset
for help on using the changeset viewer.