Changeset 7573
- Timestamp:
- 2006/11/07 11:36:49 (20 years ago)
- Location:
- temp/trunk
- Files:
-
- 4 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/shopping/load_payment_module.php
r7569 r7573 6 6 */ 7 7 require_once("../require.php"); 8 require_once(DATA_PATH . "module/Request.php");9 8 10 9 $objSiteSess = new SC_SiteSession(); … … 18 17 // ·èºÑ¾ðÊó¤ò¼èÆÀ¤¹¤ë 19 18 if(sfColumnExists("dtb_payment", "memo01")){ 20 $sql = "SELECT m emo01, 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 = ?"; 21 20 $arrPayment = $objQuery->getall($sql, array($payment_id)); 22 21 } 23 22 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']; 23 if(count($arrPayment) > 0) { 24 $path = $arrPayment[0]['module_path']; 28 25 if(file_exists($path)) { 29 26 require_once($path);
Note: See TracChangeset
for help on using the changeset viewer.
