Download.php: remove the redundant space before the closing parenthesis ')'.
							parent
							
								
									a2d80ffa6e
								
							
						
					
					
						commit
						8b40765c17
					
				|  | @ -22,7 +22,6 @@ $time = time(); | |||
| 
 | ||||
| if ( (isset($_SESSION["user_student_id"]) && strpos($file, $_SESSION["user_student_id"])) || $_SESSION['user_type'] == "Lecturer" || $_SESSION['user_type'] == "TA") { | ||||
|     // 发送文件头部
 | ||||
|        | ||||
|     header("Content-type: $type"); | ||||
|     header('Content-Disposition: attachment;filename="'.urldecode($filename).'"'); | ||||
|     header("Content-Transfer-Encoding: binary"); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue