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__)); |
---|
9 | require_once($include_dir . "/define.php"); |
---|
10 | require_once($include_dir . HTML2DATA_DIR. "conf/conf.php"); |
---|
11 | require_once($include_dir . HTML2DATA_DIR . "include/module.inc"); |
---|
12 | require_once($include_dir . HTML2DATA_DIR . "lib/glib.php"); |
---|
13 | require_once($include_dir . HTML2DATA_DIR . "lib/slib.php"); |
---|
14 | require_once($include_dir . HTML2DATA_DIR . "class/SC_View.php"); |
---|
15 | require_once($include_dir . HTML2DATA_DIR . "class/SC_DbConn.php"); |
---|
16 | require_once($include_dir . HTML2DATA_DIR . "class/SC_Session.php"); |
---|
17 | require_once($include_dir . HTML2DATA_DIR . "class/SC_Query.php"); |
---|
18 | require_once($include_dir . HTML2DATA_DIR . "class/SC_SelectSql.php"); |
---|
19 | require_once($include_dir . HTML2DATA_DIR . "class/SC_CheckError.php"); |
---|
20 | require_once($include_dir . HTML2DATA_DIR . "class/SC_PageNavi.php"); |
---|
21 | require_once($include_dir . HTML2DATA_DIR . "class/SC_Date.php"); |
---|
22 | require_once($include_dir . HTML2DATA_DIR . "class/SC_Image.php"); |
---|
23 | require_once($include_dir . HTML2DATA_DIR . "class/SC_UploadFile.php"); |
---|
24 | require_once($include_dir . HTML2DATA_DIR . "class/SC_SiteInfo.php"); |
---|
25 | require_once($include_dir . HTML2DATA_DIR . "class/GC_SendMail.php"); |
---|
26 | require_once($include_dir . HTML2DATA_DIR . "class/SC_FormParam.php"); |
---|
27 | require_once($include_dir . HTML2DATA_DIR . "class/SC_CartSession.php"); |
---|
28 | require_once($include_dir . HTML2DATA_DIR . "class/SC_SiteSession.php"); |
---|
29 | require_once($include_dir . HTML2DATA_DIR . "class/SC_CampaignSession.php"); |
---|
30 | require_once($include_dir . HTML2DATA_DIR . "class/SC_Customer.php"); |
---|
31 | require_once($include_dir . HTML2DATA_DIR . "class/SC_Cookie.php"); |
---|
32 | require_once($include_dir . HTML2DATA_DIR . "class/SC_Page.php"); |
---|
33 | require_once($include_dir . HTML2DATA_DIR . "class/SC_Pdf.php"); |
---|
34 | require_once($include_dir . HTML2DATA_DIR . "class/GC_MobileUserAgent.php"); |
---|
35 | require_once($include_dir . HTML2DATA_DIR . "class/GC_MobileEmoji.php"); |
---|
36 | require_once($include_dir . HTML2DATA_DIR . "include/page_layout.inc"); |
---|
37 | |
---|
38 | // ¥¢¥Ã¥×¥Ç¡¼¥È¤Ç¼èÆÀ¤·¤¿PHP¤òÆɤ߽Ф¹ |
---|
39 | sfLoadUpdateModule(); |
---|
40 | |
---|
41 | // ·ÈÂÓüËö¤Î¾ì¹ç¤Ï mobile °Ê²¼¤Ø¥ê¥À¥¤¥ì¥¯¥È¤¹¤ë¡£ |
---|
42 | if (GC_MobileUserAgent::isMobile()) { |
---|
43 | if (preg_match('|^' . URL_DIR . '(.*)$|', $_SERVER['REQUEST_URI'], $matches)) { |
---|
44 | $path = $matches[1]; |
---|
45 | } else { |
---|
46 | $path = ''; |
---|
47 | } |
---|
48 | header("Location: " . URL_DIR . "mobile/$path"); |
---|
49 | exit; |
---|
50 | } |
---|
51 | |
---|
52 | // ³¨Ê¸»úÊÑ´¹ (½üµî) ¥Õ¥£¥ë¥¿¡¼¤òÁȤ߹þ¤à¡£ |
---|
53 | ob_start(array('GC_MobileEmoji', 'handler')); |
---|
54 | ?> |
---|