Changeset 16836


Ignore:
Timestamp:
2007/11/28 18:56:51 (15 years ago)
Author:
naka
Message:

モジュールがなくても処理が止まらないように修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/beta/data/downloads/module/mdl_paygent/mdl_paygent.inc

    r16796 r16836  
    1515// ¥â¥¸¥å¡¼¥ë¥Õ¥¡¥¤¥ë¤Î¸ºß¥Á¥§¥Ã¥¯ 
    1616if(!file_exists($paygent_credit_php_dir . "/" . $paygent_module_dir)) { 
    17     print("¥Ú¥¤¥¸¥§¥ó¥ÈÄ󶡥⥸¥å¡¼¥ë¤òÀßÃÖ¤·¤Æ¤¯¤À¤µ¤¤¡£"); 
    18     exit; 
    19 } 
    20  
    21 // paygent¥â¥¸¥å¡¼¥ë¤ÎÆɹþ 
    22 include_once($paygent_module_dir . "entity/ResponseDataFactory.php"); 
    23 include_once($paygent_module_dir . "system/PaygentB2BModule.php"); 
    24 include_once($paygent_module_dir . "exception/PaygentB2BModuleConnectException.php"); 
    25 include_once($paygent_module_dir . "exception/PaygentB2BModuleException.php"); 
     17    sfErrorHeader(">> ¥Ú¥¤¥¸¥§¥ó¥ÈÄ󶡥⥸¥å¡¼¥ë¤òÀßÃÖ¤·¤Æ¤¯¤À¤µ¤¤¡£"); 
     18} else { 
     19    // paygent¥â¥¸¥å¡¼¥ë¤ÎÆɹþ 
     20    include_once($paygent_module_dir . "entity/ResponseDataFactory.php"); 
     21    include_once($paygent_module_dir . "system/PaygentB2BModule.php"); 
     22    include_once($paygent_module_dir . "exception/PaygentB2BModuleConnectException.php"); 
     23    include_once($paygent_module_dir . "exception/PaygentB2BModuleException.php"); 
     24} 
    2625 
    2726// ¥Ú¥¤¥¸¥§¥ó¥È·èºÑ¤Î¥â¥¸¥å¡¼¥ëID¡Êdtb_module¤È¹ç¤ï¤»¤ë¡Ë 
Note: See TracChangeset for help on using the changeset viewer.