Changeset 17578 for branches/comu-ver2/html/admin/require.php
- Timestamp:
- 2008/08/28 18:45:14 (18 years ago)
- File:
-
- 1 edited
-
branches/comu-ver2/html/admin/require.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/html/admin/require.php
r17477 r17578 22 22 */ 23 23 24 $ include_dir = realpath(dirname( __FILE__)) . '/';24 $require_php_dir = realpath(dirname( __FILE__)) . '/'; 25 25 26 26 if (!defined("HTML_PATH")) { 27 define("HTML_PATH", realpath($ include_dir . '../') . '/');27 define("HTML_PATH", realpath($require_php_dir . '../') . '/'); 28 28 } 29 29 30 30 require_once(HTML_PATH . "define.php"); 31 32 if (!defined("DATA_PATH")) { 33 define("DATA_PATH", HTML_PATH . HTML2DATA_DIR); 34 } 35 36 if (!defined("CLASS_PATH")) { 37 /** クラスパス */ 38 define("CLASS_PATH", DATA_PATH . "class/"); 39 } 40 41 if (!defined("CLASS_EX_PATH")) { 42 /** クラスパス */ 43 define("CLASS_EX_PATH", DATA_PATH . "class_extends/"); 44 } 45 46 if (!defined("CACHE_PATH")) { 47 /** キャッシュ生成ディレクトリ */ 48 define("CACHE_PATH", DATA_PATH . "cache/"); 49 } 50 require_once(CLASS_EX_PATH . "SC_Initial_Ex.php"); 51 // アプリケーション初期化処理 52 $objInit = new SC_Initial_Ex(); 53 $objInit->init(); 54 55 56 require_once(DATA_PATH . "include/module.inc"); 57 require_once(CLASS_EX_PATH . "util_extends/GC_Utils_Ex.php"); 58 require_once(CLASS_EX_PATH . "util_extends/SC_Utils_Ex.php"); 59 require_once(CLASS_EX_PATH . "db_extends/SC_DB_MasterData_Ex.php"); 60 require_once(CLASS_EX_PATH . "db_extends/SC_DB_DBFactory_Ex.php"); 61 require_once(CLASS_PATH . "SC_View.php"); 62 require_once(CLASS_PATH . "SC_DbConn.php"); 63 require_once(CLASS_PATH . "SC_Session.php"); 64 require_once(CLASS_PATH . "SC_Query.php"); 65 require_once(CLASS_PATH . "SC_SelectSql.php"); 66 require_once(CLASS_PATH . "SC_CheckError.php"); 67 require_once(CLASS_PATH . "SC_PageNavi.php"); 68 require_once(CLASS_PATH . "SC_Date.php"); 69 require_once(CLASS_PATH . "SC_Image.php"); 70 require_once(CLASS_PATH . "SC_UploadFile.php"); 71 require_once(CLASS_PATH . "SC_SiteInfo.php"); 72 require_once(CLASS_PATH . "SC_SendMail.php"); 73 require_once(CLASS_PATH . "SC_FormParam.php"); 74 require_once(CLASS_PATH . "SC_CustomerList.php"); 75 require_once(CLASS_PATH . "SC_Customer.php"); 76 require_once(CLASS_PATH . "SC_Pdf.php"); 77 require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_PageLayout_Ex.php"); 78 require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_DB_Ex.php"); 79 require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_Session_Ex.php"); 80 81 require_once(DATA_PATH . "module/Mail.php"); 82 require_once(DATA_PATH . "module/Mail/mime.php"); 83 84 // インストールチェック 85 SC_Utils_Ex::sfInitInstall(); 86 87 // セッションハンドラ開始 88 $objSession = new SC_Helper_Session_Ex(); 89 90 // セッション初期化・開始 91 require_once CLASS_PATH . 'session/SC_SessionFactory.php'; 92 $sessionFactory = SC_SessionFactory::getInstance(); 93 $sessionFactory->initSession(); 31 require_once(HTML_PATH . HTML2DATA_DIR . "require_base.php"); 94 32 ?>
Note: See TracChangeset
for help on using the changeset viewer.
