Changeset 17578 for branches/comu-ver2/html/require.php
- Timestamp:
- 2008/08/28 18:45:14 (18 years ago)
- File:
-
- 1 edited
-
branches/comu-ver2/html/require.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/html/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_EX_PATH . "SC_SendMail_Ex.php"); 73 require_once(CLASS_PATH . "SC_FormParam.php"); 74 require_once(CLASS_PATH . "SC_CartSession.php"); 75 require_once(CLASS_PATH . "SC_SiteSession.php"); 76 require_once(CLASS_PATH . "SC_CampaignSession.php"); 77 require_once(CLASS_PATH . "SC_Customer.php"); 78 require_once(CLASS_PATH . "SC_CustomerList.php"); 79 require_once(CLASS_PATH . "SC_Cookie.php"); 80 require_once(CLASS_PATH . "SC_Pdf.php"); 81 require_once(CLASS_PATH . "SC_MobileUserAgent.php"); 82 require_once(CLASS_PATH . "SC_MobileEmoji.php"); 83 require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_PageLayout_Ex.php"); 84 require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_DB_Ex.php"); 85 require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_Session_Ex.php"); 86 require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_Mail_Ex.php"); 87 require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_Mobile_Ex.php"); 88 include_once($include_dir . "require_plugin.php"); 89 90 // セッションハンドラ開始 91 $objSession = new SC_Helper_Session_Ex(); 92 93 // インストールチェック 94 SC_Utils_Ex::sfInitInstall(); 31 require_once(HTML_PATH . HTML2DATA_DIR . "require_base.php"); 95 32 96 33 // 携帯端末の場合は mobile 以下へリダイレクトする。 … … 113 50 } 114 51 115 // セッション初期化・開始116 require_once CLASS_PATH . 'session/SC_SessionFactory.php';117 $sessionFactory = SC_SessionFactory::getInstance();118 $sessionFactory->initSession();119 120 // 絵文字変換 (除去) フィルターを組み込む。121 ob_start(array('SC_MobileEmoji', 'handler'));122 52 ?>
Note: See TracChangeset
for help on using the changeset viewer.
