Ignore:
Timestamp:
2012/04/11 02:58:27 (14 years ago)
Author:
Seasoft
Message:

#1613 (typo修正・ソース整形・ソースコメントの改善)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/api/SC_Api_Utils.php

    r21722 r21734  
    2929 * @version $Id$ 
    3030 */ 
    31 define('API_UPLOAD_REALDIR', DATA_REALDIR . "downloads/api/"); 
    32 define('API_CLASS_EX_REALDIR', CLASS_EX_REALDIR . "api_extends/operations/"); 
    33 define('API_CLASS_REALDIR', CLASS_REALDIR . "api/operations/"); 
     31define('API_UPLOAD_REALDIR', DATA_REALDIR . 'downloads/api/'); 
     32define('API_CLASS_EX_REALDIR', CLASS_EX_REALDIR . 'api_extends/operations/'); 
     33define('API_CLASS_REALDIR', CLASS_REALDIR . 'api/operations/'); 
    3434 
    3535class SC_Api_Utils { 
     
    159159        // Core API ディレクトリ 
    160160        if (is_dir(API_CLASS_EX_REALDIR)) { 
    161             if($dh = opendir(API_CLASS_EX_REALDIR)) { 
     161            if ($dh = opendir(API_CLASS_EX_REALDIR)) { 
    162162                while (($file_name = readdir($dh)) !== false) { 
    163163                    if ($file_name != '.' && $file_name != '..' && substr($file_name, -4) == '.php') { 
     
    171171        // downaloads APIディレクトリ (for Plugin) 
    172172        if (is_dir(API_UPLOAD_REALDIR)) { 
    173             if($dh = opendir(API_UPLOAD_REALDIR)) { 
     173            if ($dh = opendir(API_UPLOAD_REALDIR)) { 
    174174                while (($file_name = readdir($dh)) !== false) { 
    175175                    if ($file_name != '.' && $file_name != '..' && substr($file_name, -4) == '.php') { 
     
    206206            'encoding' => 'UTF-8', 
    207207            'rootName' => $response_outer_name, 
    208             'rootAttributes' => array( 'xmlns' => self::API_XMLNS . ECCUBE_VERSION, 
     208            'rootAttributes' => array('xmlns' => self::API_XMLNS . ECCUBE_VERSION, 
    209209                                        'xml:lang' => self::API_XML_LANG), 
    210210            'defaultTagName' => 'Response', 
Note: See TracChangeset for help on using the changeset viewer.