Changeset 17128 for branches/version-2


Ignore:
Timestamp:
2008/03/12 17:32:34 (14 years ago)
Author:
satou
Message:

ロードファイルのパスを修正。

Location:
branches/version-2/data/module/Net/UserAgent
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2/data/module/Net/UserAgent/Mobile.php

    r17127 r17128  
    2020 */ 
    2121 
    22 require_once 'PEAR.php'; 
     22require_once dirname(__FILE__) . '/../../PEAR.php'; 
    2323 
    2424// {{{ constants 
     
    151151 
    152152        if (!class_exists($class)) { 
    153             $file = str_replace('_', '/', $class) . '.php'; 
     153             
     154            $file = dirname(__FILE__) . "/Mobile/{$driver}.php"; 
    154155            if (!include_once $file) { 
    155156                return PEAR::raiseError(null, 
  • branches/version-2/data/module/Net/UserAgent/Mobile/Common.php

    r17127 r17128  
    2020 */ 
    2121 
    22 require_once 'Net/UserAgent/Mobile.php'; 
     22require_once dirname(__FILE__) . '/../Mobile.php'; 
    2323 
    2424// {{{ Net_UserAgent_Mobile_Common 
  • branches/version-2/data/module/Net/UserAgent/Mobile/DoCoMo.php

    r17127 r17128  
    2222 */ 
    2323 
    24 require_once 'Net/UserAgent/Mobile/Common.php'; 
    25 require_once 'Net/UserAgent/Mobile/Display.php'; 
    26 require_once 'Net/UserAgent/Mobile/DoCoMoDisplayMap.php'; 
     24require_once dirname(__FILE__) . '/Common.php'; 
     25require_once dirname(__FILE__) . '/Display.php'; 
     26require_once dirname(__FILE__) . '/DoCoMoDisplayMap.php'; 
    2727 
    2828// {{{ Net_UserAgent_Mobile_DoCoMo 
  • branches/version-2/data/module/Net/UserAgent/Mobile/EZweb.php

    r17127 r17128  
    2323 */ 
    2424 
    25 require_once 'Net/UserAgent/Mobile/Common.php'; 
    26 require_once 'Net/UserAgent/Mobile/Display.php'; 
     25require_once dirname(__FILE__) . '/Common.php'; 
     26require_once dirname(__FILE__) . '/Display.php'; 
    2727 
    2828// {{{ Net_UserAgent_Mobile_EZweb 
  • branches/version-2/data/module/Net/UserAgent/Mobile/NonMobile.php

    r17127 r17128  
    2121 */ 
    2222 
    23 require_once 'Net/UserAgent/Mobile/Common.php'; 
    24 require_once 'Net/UserAgent/Mobile/Display.php'; 
     23require_once dirname(__FILE__) . '/Common.php'; 
     24require_once dirname(__FILE__) . '/Display.php'; 
    2525 
    2626// {{{ Net_UserAgent_Mobile_NonMobile 
  • branches/version-2/data/module/Net/UserAgent/Mobile/SoftBank.php

    r17127 r17128  
    2020 */ 
    2121 
    22 require_once 'Net/UserAgent/Mobile/Common.php'; 
    23 require_once 'Net/UserAgent/Mobile/Display.php'; 
     22require_once dirname(__FILE__) . '/Common.php'; 
     23require_once dirname(__FILE__) . '/Display.php'; 
    2424 
    2525// {{{ Net_UserAgent_Mobile_SoftBank 
  • branches/version-2/data/module/Net/UserAgent/Mobile/Willcom.php

    r17127 r17128  
    2121 */ 
    2222 
    23 require_once 'Net/UserAgent/Mobile/Common.php'; 
    24 require_once 'Net/UserAgent/Mobile/Display.php'; 
     23require_once dirname(__FILE__) . '/Common.php'; 
     24require_once dirname(__FILE__) . '/Display.php'; 
    2525 
    2626// {{{ Net_UserAgent_Mobile_Willcom 
Note: See TracChangeset for help on using the changeset viewer.