blob: d9885c508978b95f97cf522df6b52c81eed7cede (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- save_photos.php.orig 2004-08-18 21:47:09.000000000 +0100
+++ save_photos.php 2004-08-18 21:54:21.000000000 +0100
@@ -128,6 +128,14 @@
// $name = eregi_replace(".$tag\$", "", $name);
}
+
+ $l_aTags = explode(".", $url);
+ if (!acceptableFormat($l_aTags[count($l_aTags) -1]))
+ {
+ processingMsg(sprintf(_("URL %s doesn't contain a supported image"), $url));
+ continue;
+ }
+
/* Dont output warning messages if we cant open url */
/*
|