From: Sebastien D. <sde...@us...> - 2005-02-07 15:32:04
|
Update of /cvsroot/tslogparser/tslogparser/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8824/admin Modified Files: index.php Log Message: Index: index.php =================================================================== RCS file: /cvsroot/tslogparser/tslogparser/admin/index.php,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- index.php 26 Jan 2005 17:48:52 -0000 1.8 +++ index.php 7 Feb 2005 15:31:54 -0000 1.9 @@ -179,9 +179,10 @@ die(); } if (( $_FILES['tsarchive']['type'] != "application/x-gzip-compressed") + && ($_FILES['tsarchive']['type'] != "application/x-tar") && ($_FILES['tsarchive']['type'] != "application/x-gzip")) { - echo "<b>You have to supply the testsuite in a tar gzip'd format.</b>\n"; + echo "<b>You have to supply the testsuite in a tar gzip'd format (got '".htmlentities($_FILES['tsarchive']['type'])."').</b>\n"; db_fini(); require($root."footer.inc.php"); die(); |