Changeset 16134
- Timestamp:
- 2007/09/28 10:25:08 (17 years ago)
- Location:
- branches/feature-module-update
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/pages/LC_Page.php
r16133 r16134 65 65 * @return void 66 66 */ 67 function init() { 68 69 // 携帯端末の場合は mobile 以下へリダイレクトする。 70 if (GC_MobileUserAgent::isMobile()) { 71 if (preg_match('|^' . URL_DIR . '(.*)$|', $_SERVER['REQUEST_URI'], $matches)) { 72 $path = $matches[1]; 73 } else { 74 $path = ''; 75 } 76 $this->sendRedirect($this->getLocation(URL_DIR . "mobile/" . $path)); 77 exit; 78 } 79 // 絵文字変換 (除去) フィルターを組み込む。 80 ob_start(array('GC_MobileEmoji', 'handler')); 81 82 // アップデートで取得したPHPを読み出す 83 SC_Utils_Ex::sfLoadUpdateModule(); 84 } 67 function init() {} 85 68 86 69 /** -
branches/feature-module-update/data/class/pages/LC_Page_Index.php
r15908 r16134 38 38 */ 39 39 function mobileInit() { 40 parent::mobileInit(); 40 41 $this->tpl_mainpage = 'top.tpl'; 41 42 } -
branches/feature-module-update/html/mobile/require.php
r16123 r16134 20 20 require_once(CLASS_PATH . "db_extends/SC_DB_MasterData_Ex.php"); 21 21 require_once(CLASS_PATH . "db_extends/SC_DB_DBFactory_Ex.php"); 22 //require_once($include_dir . "/.." . HTML2DATA_DIR . "include/mobile.inc");23 //require_once($include_dir . "/.." . HTML2DATA_DIR . "lib/glib.php");24 //require_once($include_dir . "/.." . HTML2DATA_DIR . "lib/slib.php");25 22 require_once(CLASS_PATH . "SC_View.php"); 26 23 require_once(CLASS_PATH . "SC_DbConn.php"); … … 50 47 require_once(CLASS_PATH . "helper_extends/SC_Helper_Session_Ex.php"); 51 48 include_once($include_dir . "/require_plugin.php"); 49 52 50 // セッションハンドラ開始 53 51 $objSession = new SC_Helper_Session_Ex(); 54 55 //require_once($include_dir . "/.." . HTML2DATA_DIR . "include/page_layout.inc");56 52 57 53 // アップデートで取得したPHPを読み出す -
branches/feature-module-update/html/require.php
r16133 r16134 46 46 require_once(CLASS_PATH . "helper_extends/SC_Helper_Mail_Ex.php"); 47 47 include_once($include_dir . "/require_plugin.php"); 48 49 // 携帯端末の場合は mobile 以下へリダイレクトする。 50 if (GC_MobileUserAgent::isMobile()) { 51 if (preg_match('|^' . URL_DIR . '(.*)$|', $_SERVER['REQUEST_URI'], $matches)) { 52 $path = $matches[1]; 53 } else { 54 $path = ''; 55 } 56 57 header("Location: " 58 . SC_Utils_Ex::sfRmDupSlash(SITE_URL . URL_DIR . "mobile/" . $path)); 59 exit; 60 } 61 62 // 絵文字変換 (除去) フィルターを組み込む。 63 ob_start(array('GC_MobileEmoji', 'handler')); 64 65 // アップデートで取得したPHPを読み出す 66 SC_Utils_Ex::sfLoadUpdateModule(); 48 67 ?>
Note: See TracChangeset
for help on using the changeset viewer.