[Affelio-cvs 33] CVS update: affelio

Back to archive index

Tadashi Okoshi slash****@users*****
2005年 6月 17日 (金) 19:01:05 JST


Index: affelio/admin.cgi
diff -u affelio/admin.cgi:1.1.1.1 affelio/admin.cgi:1.2
--- affelio/admin.cgi:1.1.1.1	Tue Jun 14 12:53:29 2005
+++ affelio/admin.cgi	Fri Jun 17 19:01:04 2005
@@ -6,7 +6,7 @@
 #    http://affelio.jp/ (Japan)
 #    http://affelio.jp/ (USA and other area)
 #
-# $Id: admin.cgi,v 1.1.1.1 2005/06/14 03:53:29 slash5234 Exp $
+# $Id: admin.cgi,v 1.2 2005/06/17 10:01:04 slash5234 Exp $
 
 use strict;
 
@@ -109,7 +109,7 @@
 	    || error($q, "File has not been transfered to server.");
 	my $fh = $q->upload( "file" );
 	
-	if($uploaded_filename !~ /[jpg|jpeg|]$/){
+	if($uploaded_filename !~ /[JPG|JPEG|jpg|jpeg|]$/){
 	    error($q, "File is not a valid jpeg file.");
 	}
 


Affelio-cvs メーリングリストの案内
Back to archive index