Ignore:
Timestamp:
2013/09/04 18:24:20 (7 years ago)
Author:
h_yoshimoto
Message:

#2102 APIの有効/無効フラグを追加。デフォルトでOFFに。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13_0/data/class/api/SC_Api_Operation.php

    r23185 r23188  
    302302 
    303303        $arrErr = SC_Api_Operation_Ex::checkParam($objFormParam);  
     304         
     305        // API機能が有効であるかをチェック. 
     306        if (API_ENABLE_FLAG == false){ 
     307            $arrErr['ECCUBE.Function.Disable'] = 'API機能が無効です。'; 
     308        } 
    304309        if (SC_Utils_Ex::isBlank($arrErr)) { 
    305310            $arrParam = $objFormParam->getHashArray(); 
Note: See TracChangeset for help on using the changeset viewer.