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

Revision 15080, 2.8 KB checked in by nanasess, 15 years ago (diff)

svn properties 設定

  • svn:mime-type - application/x-httpd-php; charset=UTF-8
  • svn:keywords - Id
  • Property svn:keywords set to Id
  • Property svn:mime-type set to application/x-httpd-php; charset=UTF-8
Line 
1<?php
2/*
3 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
4 *
5 * http://www.lockon.co.jp/
6 */
7
8$include_dir = realpath(dirname( __FILE__));
9require_once($include_dir . "/define.php");
10require_once($include_dir . HTML2DATA_DIR. "conf/conf.php");
11require_once($include_dir . HTML2DATA_DIR . "include/module.inc");
12require_once($include_dir . HTML2DATA_DIR . "class/util_extends/GC_Utils_Ex.php");
13require_once($include_dir . HTML2DATA_DIR . "class/util_extends/SC_Utils_Ex.php");
14//require_once($include_dir . HTML2DATA_DIR . "lib/glib.php");
15require_once($include_dir . HTML2DATA_DIR . "lib/slib.php");
16require_once($include_dir . HTML2DATA_DIR . "class/SC_View.php");
17require_once($include_dir . HTML2DATA_DIR . "class/SC_DbConn.php");
18require_once($include_dir . HTML2DATA_DIR . "class/SC_Session.php");
19require_once($include_dir . HTML2DATA_DIR . "class/SC_Query.php");
20require_once($include_dir . HTML2DATA_DIR . "class/SC_SelectSql.php");
21require_once($include_dir . HTML2DATA_DIR . "class/SC_CheckError.php");
22require_once($include_dir . HTML2DATA_DIR . "class/SC_PageNavi.php");
23require_once($include_dir . HTML2DATA_DIR . "class/SC_Date.php");
24require_once($include_dir . HTML2DATA_DIR . "class/SC_Image.php");
25require_once($include_dir . HTML2DATA_DIR . "class/SC_UploadFile.php");
26require_once($include_dir . HTML2DATA_DIR . "class/SC_SiteInfo.php");
27require_once($include_dir . HTML2DATA_DIR . "class/GC_SendMail.php");
28require_once($include_dir . HTML2DATA_DIR . "class/SC_FormParam.php");
29require_once($include_dir . HTML2DATA_DIR . "class/SC_CartSession.php");
30require_once($include_dir . HTML2DATA_DIR . "class/SC_SiteSession.php");
31require_once($include_dir . HTML2DATA_DIR . "class/SC_CampaignSession.php");
32require_once($include_dir . HTML2DATA_DIR . "class/SC_Customer.php");
33require_once($include_dir . HTML2DATA_DIR . "class/SC_Cookie.php");
34require_once($include_dir . HTML2DATA_DIR . "class/SC_Page.php");
35require_once($include_dir . HTML2DATA_DIR . "class/SC_Pdf.php");
36require_once($include_dir . HTML2DATA_DIR . "class/GC_MobileUserAgent.php");
37require_once($include_dir . HTML2DATA_DIR . "class/GC_MobileEmoji.php");
38require_once($include_dir . HTML2DATA_DIR . "class/helper_extends/SC_Helper_PageLayout_Ex.php");
39//require_once($include_dir . HTML2DATA_DIR . "include/page_layout.inc");
40
41// アップデートで取得したPHPを読み出す
42SC_Utils::sfLoadUpdateModule();
43
44// 携帯端末の場合は mobile 以下へリダイレクトする。
45if (GC_MobileUserAgent::isMobile()) {
46    if (preg_match('|^' . URL_DIR . '(.*)$|', $_SERVER['REQUEST_URI'], $matches)) {
47        $path = $matches[1];
48    } else {
49        $path = '';
50    }
51    header("Location: " . URL_DIR . "mobile/$path");
52    exit;
53}
54
55// 絵文字変換 (除去) フィルターを組み込む。
56ob_start(array('GC_MobileEmoji', 'handler'));
57?>
Note: See TracBrowser for help on using the repository browser.