I solved a issue when you upload a logo

This commit is contained in:
Paula V. Quispe
2015-03-27 15:40:15 -04:00
parent c2d32d4f59
commit cc57d3573c

View File

@@ -1,4 +1,4 @@
<?php <?php
/** /**
* adminProxy.php * adminProxy.php
* *
@@ -1042,7 +1042,7 @@ class adminProxy extends HttpProxyController
$uploaded = 0; $uploaded = 0;
$failed = 0; $failed = 0;
$files_img_type = $filter->xssFilterHard($_FILES['img']['type']); $files_img_type = $_FILES['img']['type'];
if (in_array($files_img_type, $allowedType)) { if (in_array($files_img_type, $allowedType)) {
// max upload file is 500 KB // max upload file is 500 KB