Changeset 15078 for branches/feature-module-update/html/require.php
- Timestamp:
- 2007/07/20 15:58:59 (17 years ago)
- Location:
- branches/feature-module-update
- Files:
-
- 1 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update
-
Property
svn:ignore
set to
.cache
.settings
.projectOptions
-
Property
svn:ignore
set to
-
branches/feature-module-update/html/require.php
r13401 r15078 5 5 * http://www.lockon.co.jp/ 6 6 */ 7 7 8 8 $include_dir = realpath(dirname( __FILE__)); 9 9 require_once($include_dir . "/define.php"); 10 10 require_once($include_dir . HTML2DATA_DIR. "conf/conf.php"); 11 11 require_once($include_dir . HTML2DATA_DIR . "include/module.inc"); 12 require_once($include_dir . HTML2DATA_DIR . "lib/glib.php"); 12 require_once($include_dir . HTML2DATA_DIR . "class/util_extends/GC_Utils_Ex.php"); 13 require_once($include_dir . HTML2DATA_DIR . "class/util_extends/SC_Utils_Ex.php"); 14 //require_once($include_dir . HTML2DATA_DIR . "lib/glib.php"); 13 15 require_once($include_dir . HTML2DATA_DIR . "lib/slib.php"); 14 16 require_once($include_dir . HTML2DATA_DIR . "class/SC_View.php"); … … 34 36 require_once($include_dir . HTML2DATA_DIR . "class/GC_MobileUserAgent.php"); 35 37 require_once($include_dir . HTML2DATA_DIR . "class/GC_MobileEmoji.php"); 36 require_once($include_dir . HTML2DATA_DIR . "include/page_layout.inc"); 38 require_once($include_dir . HTML2DATA_DIR . "class/helper_extends/SC_Helper_PageLayout_Ex.php"); 39 //require_once($include_dir . HTML2DATA_DIR . "include/page_layout.inc"); 37 40 38 // ¥¢¥Ã¥×¥Ç¡¼¥È¤Ç¼èÆÀ¤·¤¿PHP¤òÆɤ߽Ф¹39 sfLoadUpdateModule();41 // アップデートで取得したPHPを読み出す 42 SC_Utils::sfLoadUpdateModule(); 40 43 41 // ·ÈÂÓüËö¤Î¾ì¹ç¤Ï mobile °Ê²¼¤Ø¥ê¥À¥¤¥ì¥¯¥È¤¹¤ë¡£44 // 携帯端末の場合は mobile 以下へリダイレクトする。 42 45 if (GC_MobileUserAgent::isMobile()) { 43 44 45 46 47 48 49 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; 50 53 } 51 54 52 // ³¨Ê¸»úÊÑ´¹ (½üµî) ¥Õ¥£¥ë¥¿¡¼¤òÁȤ߹þ¤à¡£55 // 絵文字変換 (除去) フィルターを組み込む。 53 56 ob_start(array('GC_MobileEmoji', 'handler')); 54 57 ?>
Note: See TracChangeset
for help on using the changeset viewer.