mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 09:03:38 +02:00
fix html warnings. unclosed monotags
git-svn-id: http://piwigo.org/svn/trunk@3185 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ function validate_upload( $temp_name, $my_max_file_size,
|
||||
|
||||
$result = array();
|
||||
$result['error'] = array();
|
||||
//echo $_FILES['picture']['name']."<br />".$temp_name;
|
||||
//echo $_FILES['picture']['name']."<br>".$temp_name;
|
||||
$extension = get_extension( $_FILES['picture']['name'] );
|
||||
if (!in_array($extension, $conf['picture_ext']))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user