Ignore:
Timestamp:
2007/10/12 12:41:54 (19 years ago)
Author:
nanasess
Message:
  • リファクタリング
  • クラス化対応
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/html/mobile/redirect.php

    r16124 r16392  
    77 * 
    88 * 
    9  * モバイルサイト/空メールの返信からの遷移 
     9 * モバイルサイト/メールからのリダイレクト 
    1010 */ 
    1111 
    12 // FIXME 
    13 define('SKIP_MOBILE_INIT', true); 
    14 require_once 'require.php'; 
     12// {{{ requires 
     13require_once("./require.php"); 
     14require_once(CLASS_EX_PATH . "page_extends/LC_Page_Redirect_Ex.php"); 
    1515 
    16 if (isset($_GET['token'])) { 
    17     $next_url = GC_Utils_Ex::gfFinishKaraMail($_GET['token']); 
    18 } 
     16// }}} 
     17// {{{ generate page 
    1918 
    20 if (isset($next_url) && $next_url !== false) { 
    21     header("Location: $next_url"); 
    22 } else { 
    23     header('Location: ' . MOBILE_SITE_URL); 
    24 } 
     19$objPage = new LC_Page_Redirect_Ex(); 
     20$objPage->mobileInit(); 
     21$objPage->mobileProcess(); 
     22register_shutdown_function(array($objPage, "destroy")); 
    2523?> 
Note: See TracChangeset for help on using the changeset viewer.