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

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

File:
1 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, 
Note: See TracChangeset for help on using the changeset viewer.