Ignore:
Timestamp:
2012/07/23 21:37:19 (12 years ago)
Author:
h_yoshimoto
Message:

#1839 環境によって動作しない様ですので、一旦戻します

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/admin/ownersstore/LC_Page_Admin_OwnersStore.php

    r21972 r21974  
    811811        $arrErr = array(); 
    812812        if (file_exists($file_path)) { 
    813             //requireだとファイルの存在チェックしかできないのでexecで実行してみる(syntax errorが見られる) 
    814             $result = exec("php -l " . $file_path); 
    815             //Errors parsingがあったらエラーを投げる 
    816             if(strpos($result, 'Errors parsing') !== false){ 
    817                 $arrErr[$key] = '※ ' . $file_path .'のソース内にエラーが発見されました<br/>'; 
    818             } else { 
    819                 require_once $file_path; 
    820             } 
     813            require_once $file_path;  
    821814        } else { 
    822815            $arrErr[$key] = '※ ' . $file_path .'の読み込みに失敗しました。<br/>'; 
Note: See TracChangeset for help on using the changeset viewer.