Changeset 17477 for branches/comu-ver2/html/admin/require.php
- Timestamp:
- 2008/07/29 20:55:08 (18 years ago)
- File:
-
- 1 edited
-
branches/comu-ver2/html/admin/require.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/html/admin/require.php
r17182 r17477 21 21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 22 22 */ 23 $include_dir = realpath(dirname( __FILE__)); 24 require_once($include_dir . "/../define.php"); 23 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 25 36 if (!defined("CLASS_PATH")) { 26 37 /** クラスパス */ 27 define("CLASS_PATH", $include_dir . "/.." . HTML2DATA_DIR. "class/");38 define("CLASS_PATH", DATA_PATH . "class/"); 28 39 } 29 40 30 41 if (!defined("CLASS_EX_PATH")) { 31 42 /** クラスパス */ 32 define("CLASS_EX_PATH", $include_dir . "/.." . HTML2DATA_DIR. "class_extends/");43 define("CLASS_EX_PATH", DATA_PATH . "class_extends/"); 33 44 } 34 45 35 46 if (!defined("CACHE_PATH")) { 36 47 /** キャッシュ生成ディレクトリ */ 37 define("CACHE_PATH", $include_dir . "/.." . HTML2DATA_DIR. "cache/");48 define("CACHE_PATH", DATA_PATH . "cache/"); 38 49 } 39 50 require_once(CLASS_EX_PATH . "SC_Initial_Ex.php"); … … 42 53 $objInit->init(); 43 54 44 require_once($include_dir . "/.." . HTML2DATA_DIR . "include/module.inc"); 55 56 require_once(DATA_PATH . "include/module.inc"); 45 57 require_once(CLASS_EX_PATH . "util_extends/GC_Utils_Ex.php"); 46 58 require_once(CLASS_EX_PATH . "util_extends/SC_Utils_Ex.php"); … … 67 79 require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_Session_Ex.php"); 68 80 69 require_once( $include_dir . "/.." . HTML2DATA_DIR. "module/Mail.php");70 require_once( $include_dir . "/.." . HTML2DATA_DIR. "module/Mail/mime.php");81 require_once(DATA_PATH . "module/Mail.php"); 82 require_once(DATA_PATH . "module/Mail/mime.php"); 71 83 72 84 // インストールチェック … … 75 87 // セッションハンドラ開始 76 88 $objSession = new SC_Helper_Session_Ex(); 89 77 90 // セッション初期化・開始 78 91 require_once CLASS_PATH . 'session/SC_SessionFactory.php';
Note: See TracChangeset
for help on using the changeset viewer.
