Changeset 7573


Ignore:
Timestamp:
2006/11/07 11:36:49 (20 years ago)
Author:
kakinaka
Message:

* empty log message *

Location:
temp/trunk
Files:
4 added
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/shopping/load_payment_module.php

    r7569 r7573  
    66 */ 
    77require_once("../require.php"); 
    8 require_once(DATA_PATH . "module/Request.php"); 
    98 
    109$objSiteSess = new SC_SiteSession(); 
     
    1817// ·èºÑ¾ðÊó¤ò¼èÆÀ¤¹¤ë 
    1918if(sfColumnExists("dtb_payment", "memo01")){ 
    20     $sql = "SELECT memo01, memo02, memo03, memo04, memo05, memo06, memo07, memo08, memo09, memo10 FROM dtb_payment WHERE payment_id = ?"; 
     19    $sql = "SELECT module_path, memo01, memo02, memo03, memo04, memo05, memo06, memo07, memo08, memo09, memo10 FROM dtb_payment WHERE payment_id = ?"; 
    2120    $arrPayment = $objQuery->getall($sql, array($payment_id)); 
    2221} 
    2322 
    24 if(is_numeric($module_id)) { 
    25     $objQuery = new SC_Query(); 
    26     $arrRet = $objQuery->select("main_php", "dtb_module", "module_id = ?", array($module_id)); 
    27     $path = MODULE_PATH . $arrRet[0]['main_php']; 
     23if(count($arrPayment) > 0) { 
     24    $path = $arrPayment[0]['module_path']; 
    2825    if(file_exists($path)) { 
    2926        require_once($path); 
Note: See TracChangeset for help on using the changeset viewer.