Ignore:
Timestamp:
2007/08/29 20:26:38 (17 years ago)
Author:
naka
Message:
 
Location:
branches/feature-module-zeus
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-zeus/.project

    r14676 r15438  
    11<?xml version="1.0" encoding="UTF-8"?> 
    22<projectDescription> 
    3     <name>ec-cube.net-beta</name> 
     3    <name>uuu</name> 
    44    <comment></comment> 
    55    <projects> 
    66    </projects> 
    77    <buildSpec> 
    8    <buildCommand> 
    9        <name>net.sourceforge.phpeclipse.parserbuilder</name> 
    10        <arguments> 
    11        </arguments> 
    12    </buildCommand> 
    13  </buildSpec> 
    14  <natures> 
    15    <nature>net.sourceforge.phpeclipse.phpnature</nature> 
    16  </natures> 
     8        <buildCommand> 
     9            <name>org.eclipse.php.core.PhpIncrementalProjectBuilder</name> 
     10            <arguments> 
     11            </arguments> 
     12        </buildCommand> 
     13        <buildCommand> 
     14            <name>org.eclipse.wst.validation.validationbuilder</name> 
     15            <arguments> 
     16            </arguments> 
     17        </buildCommand> 
     18    </buildSpec> 
     19    <natures> 
     20        <nature>org.eclipse.php.core.PHPNature</nature> 
     21    </natures> 
    1722</projectDescription> 
  • branches/feature-module-zeus/data/include/mobile.inc

    r15437 r15438  
    1515 */ 
    1616function lfMobileCheckCompatibility() { 
     17     
     18 
     19     
    1720    if (!GC_MobileUserAgent::isSupported()) { 
    1821        header('Location: ' . URL_DIR . 'unsupported/index.php'); 
    1922        exit; 
    2023    } 
     24     
     25 
    2126} 
    2227 
     
    117122    // ÇÛÎó mobile ¤¬ÅÐÏ¿¤µ¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤ò¥Á¥§¥Ã¥¯¤¹¤ë¡£ 
    118123    if (!is_array(@$_SESSION['mobile'])) { 
     124        gfprintlog("ÇÛÎómobile¤¬ÅÐÏ¿¤µ¤ì¤Æ¤¤¤Ê¤¤¡£"); 
    119125        return false; 
    120126    } 
     
    125131                   date('Y/m/d H:i:s', @$_SESSION['mobile']['expires']) . 
    126132                   ' : sid=' . session_id()); 
    127  
     133        gfprintlog("SESSIONÍ­¸ú´ü¸Â¤ò²á¤®¤Æ¤¤¤ë");                  
    128134        return false; 
    129135    } 
     
    135141                   "\"$model\" != \"" . @$_SESSION['mobile']['model'] . 
    136142                   '" (expected), sid=' . session_id()); 
    137         return false; 
    138     } 
    139  
     143        gfprintlog("·ÈÂÓüËö¤Îµ¡¼ï¤¬°ìÃפ·¤Ê¤¤");    
     144        return false; 
     145    } 
     146     
     147    gfprintlog("¥»¥Ã¥·¥ç¥ó¥Ç¡¼¥¿¤¬Í­¸ú"); 
    140148    return true; 
    141149} 
     
    173181    // ¥»¥Ã¥·¥ç¥óID¤Þ¤¿¤Ï¥»¥Ã¥·¥ç¥ó¥Ç¡¼¥¿¤¬Ìµ¸ú¤Ê¾ì¹ç¤Ï¡¢¥»¥Ã¥·¥ç¥óID¤òºÆÀ¸À® 
    174182    // ¤·¡¢¥»¥Ã¥·¥ç¥ó¥Ç¡¼¥¿¤ò½é´ü²½¤¹¤ë¡£ 
     183    if ($sessionId === false) { 
     184        gfprintlog("\$sessionId === false"); 
     185    } 
     186         
    175187    if ($sessionId === false || !lfMobileValidateSession()) { 
     188         
    176189        session_regenerate_id(); 
    177190        $_SESSION = array('mobile' => array('model'    => GC_MobileUserAgent::getModel(), 
     
    181194        // ¿·¤·¤¤¥»¥Ã¥·¥ç¥óID¤òÉղ䷤ƥê¥À¥¤¥ì¥¯¥È¤¹¤ë¡£ 
    182195        if ($_SERVER['REQUEST_METHOD'] == 'GET') { 
     196            gfprintlog("GETÍ×µá¤Î¼èÆÀ:".$_GET['PHPSESSID']); 
     197            gfprintlog("¥ê¥À¥¤¥ì¥¯¥È:".gfAddSessionId()); 
    183198            // GET ¤Î¾ì¹ç¤ÏƱ¤¸¥Ú¡¼¥¸¤Ë¥ê¥À¥¤¥ì¥¯¥È¤¹¤ë¡£ 
    184199            header('Location: ' . gfAddSessionId()); 
    185200        } else { 
     201            gfprintlog("GETÍ׵᤬¤Ê¤·"); 
    186202            // GET °Ê³°¤Î¾ì¹ç¤Ï¥È¥Ã¥×¥Ú¡¼¥¸¤Ø¥ê¥À¥¤¥ì¥¯¥È¤¹¤ë¡£ 
    187203            header('Location: ' . URL_SITE_TOP . '?' . SID); 
     
    240256function sfMobileInit() { 
    241257    lfMobileInitInput(); 
    242  
    243258    if (basename(dirname($_SERVER['SCRIPT_NAME'])) != 'unsupported') { 
    244259        lfMobileCheckCompatibility(); 
  • branches/feature-module-zeus/html/mobile/index.php

    r11846 r15438  
    99 * ¥â¥Ð¥¤¥ë¥µ¥¤¥È/¥È¥Ã¥×¥Ú¡¼¥¸ 
    1010 */ 
    11  
    1211require_once('./require.php'); 
    1312 
  • branches/feature-module-zeus/html/mobile/require.php

    r12195 r15438  
    99$include_dir = realpath(dirname( __FILE__)); 
    1010require_once($include_dir . "/../define.php"); 
     11require_once($include_dir . "/.." . HTML2DATA_DIR . "conf/conf.php"); 
    1112 
    12 require_once($include_dir . "/.." . HTML2DATA_DIR . "conf/conf.php"); 
    1313require_once($include_dir . "/.." . HTML2DATA_DIR . "conf/mobile_conf.php"); 
     14 
     15 
    1416require_once($include_dir . "/.." . HTML2DATA_DIR . "include/module.inc"); 
     17 
     18 
     19 
     20 
    1521require_once($include_dir . "/.." . HTML2DATA_DIR . "include/mobile.inc"); 
     22 
     23 
    1624require_once($include_dir . "/.." . HTML2DATA_DIR . "lib/glib.php"); 
    1725require_once($include_dir . "/.." . HTML2DATA_DIR . "lib/slib.php"); 
     26 
    1827require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_View.php"); 
    1928require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_DbConn.php"); 
Note: See TracChangeset for help on using the changeset viewer.