From 77a325b1c83a4b09697a1b57ffb3a2516af60921 Mon Sep 17 00:00:00 2001 From: Bigsk Date: Wed, 30 Sep 2020 21:35:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E4=B8=AA=E9=AB=98?= =?UTF-8?q?=E5=8D=B1BUG=EF=BC=8C=E4=BF=AE=E5=A4=8D=E4=BA=86=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E4=B8=8D=E5=85=B3=E9=97=AD=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 69a5318..daa7dd7 100644 --- a/index.php +++ b/index.php @@ -104,7 +104,7 @@ function check_file_update($file,$url,$time){ } }else{ ob_start(); - system('python download.py --url "'.$url.'" --file "'.$file.'" --type "pass" --type_sub "pass"'); + system(str_replace(";","",'python download.py --url "'.$url.'" --file "'.$file.'" --type "pass" --type_sub "pass"')); ob_clean(); echo file_get_contents('file/'.$file); } @@ -193,3 +193,4 @@ if($_GET['error']!=""){ } } } +mysqli_close($link); \ No newline at end of file