source: branches/feature-module-update/html/mobile/require.php @ 16506

Revision 16506, 2.9 KB checked in by nanasess, 14 years ago (diff)

リファクタリング

  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-httpd-php; charset=UTF-8
Line 
1<?php
2/**
3 *
4 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
5 *
6 * http://www.lockon.co.jp/
7 *
8 */
9$include_dir = realpath(dirname( __FILE__));
10require_once($include_dir . "/../define.php");
11if (!defined("CLASS_PATH")) {
12    /** クラスパス */
13    define("CLASS_PATH", $include_dir . "/.." . HTML2DATA_DIR . "class/");
14}
15
16if (!defined("CLASS_EX_PATH")) {
17    /** クラスパス */
18    define("CLASS_EX_PATH", $include_dir . "/.." . HTML2DATA_DIR . "class_extends/");
19}
20
21if (!defined("CACHE_PATH")) {
22    /** キャッシュ生成ディレクトリ */
23    define("CACHE_PATH", $include_dir . "/.." . HTML2DATA_DIR . "cache/");
24}
25require_once(CLASS_EX_PATH . "SC_Initial_Mobile_Ex.php");
26// アプリケーション初期化処理
27new SC_Initial_Mobile_Ex();
28
29//require_once($include_dir . "/.." . HTML2DATA_DIR . "conf/conf.php");
30//require_once($include_dir . "/.." . HTML2DATA_DIR . "conf/mobile_conf.php");
31require_once($include_dir . "/.." . HTML2DATA_DIR . "include/module.inc");
32require_once(CLASS_EX_PATH . "util_extends/GC_Utils_Ex.php");
33require_once(CLASS_EX_PATH . "util_extends/SC_Utils_Ex.php");
34require_once(CLASS_EX_PATH . "db_extends/SC_DB_MasterData_Ex.php");
35require_once(CLASS_EX_PATH . "db_extends/SC_DB_DBFactory_Ex.php");
36require_once(CLASS_PATH . "SC_View.php");
37require_once(CLASS_PATH . "SC_DbConn.php");
38require_once(CLASS_PATH . "SC_Session.php");
39require_once(CLASS_PATH . "SC_Query.php");
40require_once(CLASS_PATH . "SC_SelectSql.php");
41require_once(CLASS_PATH . "SC_CheckError.php");
42require_once(CLASS_PATH . "SC_PageNavi.php");
43require_once(CLASS_PATH . "SC_Date.php");
44require_once(CLASS_PATH . "SC_Image.php");
45require_once(CLASS_PATH . "SC_UploadFile.php");
46require_once(CLASS_PATH . "SC_SiteInfo.php");
47require_once(CLASS_EX_PATH . "SC_SendMail_Ex.php");
48require_once(CLASS_PATH . "SC_FormParam.php");
49require_once(CLASS_PATH . "SC_CartSession.php");
50require_once(CLASS_PATH . "SC_SiteSession.php");
51require_once(CLASS_PATH . "SC_Customer.php");
52require_once(CLASS_PATH . "SC_Cookie.php");
53require_once(CLASS_PATH . "SC_Pdf.php");
54require_once(CLASS_PATH . "SC_MobileUserAgent.php");
55require_once(CLASS_PATH . "SC_MobileEmoji.php");
56require_once(CLASS_PATH . "SC_MobileImage.php");
57require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_PageLayout_Ex.php");
58require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_DB_Ex.php");
59require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_Mobile_Ex.php");
60require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_Session_Ex.php");
61require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_Mail_Ex.php");
62include_once($include_dir . "/require_plugin.php");
63
64// セッションハンドラ開始
65$objSession = new SC_Helper_Session_Ex();
66
67// アップデートで取得したPHPを読み出す
68SC_Utils_Ex::sfLoadUpdateModule();
69
70// モバイルサイト用の初期処理を実行する。
71if (!defined('SKIP_MOBILE_INIT')) {
72    $objMobile = new SC_Helper_Mobile_Ex();
73    $objMobile->sfMobileInit();
74}
75?>
Note: See TracBrowser for help on using the repository browser.