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