[*] Classes : images.inc.php functions are now all deprecated, use the new class ImageManager instead

This commit is contained in:
rMalie
2012-01-23 10:21:51 +00:00
parent 6f98c3b8f5
commit 84f4d0838c
32 changed files with 569 additions and 427 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ class BlockStore extends Module
{
if (isset($_FILES['store_img']) && isset($_FILES['store_img']['tmp_name']) && !empty($_FILES['store_img']['tmp_name']))
{
if ($error = checkImage($_FILES['store_img'], 4000000))
if ($error = ImageManager::validateUpload($_FILES['store_img'], 4000000))
return $this->displayError($this->l('invalid image'));
else
{