Ignore:
Timestamp:
2007/07/20 15:58:59 (17 years ago)
Author:
nanasess
Message:

r15064 から svn cp
とりあえず暫定コミット.

  • UTF-8 に変更
  • slib.php, glib.php のクラス化
  • LC_Page の抽象化(一部)
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
  • branches/feature-module-update/html/require.php

    r13401 r15078  
    55 * http://www.lockon.co.jp/ 
    66 */ 
    7   
     7 
    88$include_dir = realpath(dirname( __FILE__)); 
    99require_once($include_dir . "/define.php"); 
    1010require_once($include_dir . HTML2DATA_DIR. "conf/conf.php"); 
    1111require_once($include_dir . HTML2DATA_DIR . "include/module.inc"); 
    12 require_once($include_dir . HTML2DATA_DIR . "lib/glib.php"); 
     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"); 
    1315require_once($include_dir . HTML2DATA_DIR . "lib/slib.php"); 
    1416require_once($include_dir . HTML2DATA_DIR . "class/SC_View.php"); 
     
    3436require_once($include_dir . HTML2DATA_DIR . "class/GC_MobileUserAgent.php"); 
    3537require_once($include_dir . HTML2DATA_DIR . "class/GC_MobileEmoji.php"); 
    36 require_once($include_dir . HTML2DATA_DIR . "include/page_layout.inc"); 
     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"); 
    3740 
    38 // ¥¢¥Ã¥×¥Ç¡¼¥È¤Ç¼èÆÀ¤·¤¿PHP¤òÆɤ߽Ф¹ 
    39 sfLoadUpdateModule(); 
     41// アップデートで取得したPHPを読み出す 
     42SC_Utils::sfLoadUpdateModule(); 
    4043 
    41 // ·ÈÂÓüËö¤Î¾ì¹ç¤Ï mobile °Ê²¼¤Ø¥ê¥À¥¤¥ì¥¯¥È¤¹¤ë¡£ 
     44// 携帯端末の場合は mobile 以下へリダイレクトする。 
    4245if (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; 
     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; 
    5053} 
    5154 
    52 // ³¨Ê¸»úÊÑ´¹ (½üµî) ¥Õ¥£¥ë¥¿¡¼¤òÁȤ߹þ¤à¡£ 
     55// 絵文字変換 (除去) フィルターを組み込む。 
    5356ob_start(array('GC_MobileEmoji', 'handler')); 
    5457?> 
Note: See TracChangeset for help on using the changeset viewer.