Changeset 19805 for branches/version-2_5-dev/data/require_safe.php
- Timestamp:
- 2010/12/31 23:23:49 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/require_safe.php
r19802 r19805 29 29 30 30 // rtrim は PHP バージョン依存対策 31 define("HTML_ FILE_PATH", rtrim(realpath(rtrim(realpath(dirname(__FILE__)), '/\\') . '/'), '/\\') . '/');31 define("HTML_REALDIR", rtrim(realpath(rtrim(realpath(dirname(__FILE__)), '/\\') . '/'), '/\\') . '/'); 32 32 33 if (!defined("DATA_ FILE_PATH")) {34 define("DATA_ FILE_PATH", HTML_FILE_PATH. HTML2DATA_DIR);33 if (!defined("DATA_REALDIR")) { 34 define("DATA_REALDIR", HTML_REALDIR . HTML2DATA_DIR); 35 35 } 36 36 37 37 // アプリケーションの初期化処理 38 require_once(DATA_ FILE_PATH. "app_initial.php");38 require_once(DATA_REALDIR . "app_initial.php"); 39 39 40 40 // 各種クラス読み込み 41 require_once(DATA_ FILE_PATH. "require_classes.php");41 require_once(DATA_REALDIR . "require_classes.php"); 42 42 ?>
Note: See TracChangeset
for help on using the changeset viewer.