Browse Source

关闭支付宝拓展包里的写日志

shish 6 năm trước cách đây
mục cha
commit
548279b1a0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      vendor/alipayWap/wappay/service/AlipayTradeService.php

+ 1 - 1
vendor/alipayWap/wappay/service/AlipayTradeService.php

@@ -221,7 +221,7 @@ class AlipayTradeService {
 	function writeLog($text) {
 		// $text=iconv("GBK", "UTF-8//IGNORE", $text);
 		//$text = characet ( $text );
-		file_put_contents ( dirname ( __FILE__ ).DIRECTORY_SEPARATOR."./../../log.txt", date ( "Y-m-d H:i:s" ) . "  " . $text . "\r\n", FILE_APPEND );
+		//file_put_contents ( dirname ( __FILE__ ).DIRECTORY_SEPARATOR."./../../log.txt", date ( "Y-m-d H:i:s" ) . "  " . $text . "\r\n", FILE_APPEND );
 	}