Changeset 16190
- Timestamp:
- 2007/09/30 12:56:03 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/util/SC_Utils.php
r16163 r16190 100 100 $GLOBAL_ERR.= "<SPAN style='color:red; font-size:12px'><strong>" . $mess . "</strong></span>\n"; 101 101 $GLOBAL_ERR.= "</td>\n"; 102 $GLOBAL_ERR.= " 102 $GLOBAL_ERR.= " </tr>\n"; 103 103 $GLOBAL_ERR.= "</table>\n"; 104 104 … … 333 333 } 334 334 335 function sfCheckNormalAccess(&$objSiteSess, $objCartSess) {335 function sfCheckNormalAccess(&$objSiteSess, &$objCartSess) { 336 336 // ユーザユニークIDの取得 337 337 $uniqid = $objSiteSess->getUniqId(); … … 368 368 $date = ""; 369 369 } 370 return 370 return $date; 371 371 } 372 372 … … 649 649 650 650 /*-----------------------------------------------------------------*/ 651 /* 652 /* 651 /* check_set_term 652 /* 年月日に別れた2つの期間の妥当性をチェックし、整合性と期間を返す 653 653 /* 引数 (開始年,開始月,開始日,終了年,終了月,終了日) 654 654 /* 戻値 array(1,2,3) 655 /* 656 /* 657 /* 655 /* 1.開始年月日 (YYYY/MM/DD 000000) 656 /* 2.終了年月日 (YYYY/MM/DD 235959) 657 /* 3.エラー ( 0 = OK, 1 = NG ) 658 658 /*-----------------------------------------------------------------*/ 659 659 function sfCheckSetTerm ( $start_year, $start_month, $start_day, $end_year, $end_month, $end_day ) { … … 980 980 function sfGetAuthonlyResult($dir, $file_name, $name01, $name02, $card_no, $card_exp, $amount, $order_id, $jpo_info = "10"){ 981 981 982 $path = $dir .$file_name; 983 $now_dir = getcwd(); 982 $path = $dir .$file_name; // cgiファイルのフルパス生成 983 $now_dir = getcwd(); // requireがうまくいかないので、cgi実行ディレクトリに移動する 984 984 chdir($dir); 985 985 … … 993 993 $result .= FGETS($tmpResult); 994 994 } 995 pclose($tmpResult); //パイプを閉じる996 chdir($now_dir); 995 pclose($tmpResult); // パイプを閉じる 996 chdir($now_dir); // 元にいたディレクトリに帰る 997 997 998 998 // 結果を連想配列へ格納 … … 1144 1144 fclose($ifp); 1145 1145 1146 return 1146 return $outpath; 1147 1147 } 1148 1148
Note: See TracChangeset
for help on using the changeset viewer.