Ignore:
Timestamp:
2012/02/12 11:28:48 (14 years ago)
Author:
Seasoft
Message:

#1637 (クラスのオートローディング)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/util/SC_Utils.php

    r21481 r21490  
    16721672     */ 
    16731673    function sfGetRandomString($length = 1) { 
    1674         require_once dirname(__FILE__) . '/../../module/Text/Password.php'; 
    16751674        return Text_Password::create($length); 
    16761675    } 
     
    20392038            return json_encode($value); 
    20402039        } else { 
    2041             require_once dirname(__FILE__) . '/../../module/Services/JSON.php'; 
    20422040            GC_Utils_Ex::gfPrintLog(' *use Services_JSON::encode(). faster than using the json_encode!'); 
    20432041            $objJson = new Services_JSON(); 
     
    20622060            return json_decode($json); 
    20632061        } else { 
    2064             require_once dirname(__FILE__) . '/../../module/Services/JSON.php'; 
    20652062            GC_Utils_Ex::gfPrintLog(' *use Services_JSON::decode(). faster than using the json_decode!'); 
    20662063            $objJson = new Services_JSON(); 
Note: See TracChangeset for help on using the changeset viewer.