Ignore:
Timestamp:
2012/07/20 16:21:27 (14 years ago)
Author:
h_yoshimoto
Message:

#1899 プラグイン必須モジュールチェックのエラー出力形式を変更

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/plugin/SC_Plugin_Util.php

    r21970 r21971  
    147147     * プラグイン利用に必須のモジュールチェック 
    148148     * 
     149     * @param string $key  エラー情報を格納するキー 
    149150     * @return array $arrErr エラー情報を格納した連想配列. 
    150151     */ 
    151     function checkExtension() { 
     152    function checkExtension($key) { 
    152153        // プラグイン利用に必須のモジュール 
    153154        // 'EC-CUBEバージョン' => array('モジュール名') 
     
    162163            foreach ($arrRequireExtension[ECCUBE_VERSION] AS $val) { 
    163164                if (!extension_loaded($val)) { 
    164                     $arrErr[$val] = "※ プラグインを利用するには、拡張モジュール「${val}」が必要です。<br />"; 
     165                    $arrErr[$key] .= "※ プラグインを利用するには、拡張モジュール「${val}」が必要です。<br />"; 
    165166                } 
    166167            } 
Note: See TracChangeset for help on using the changeset viewer.