Admin - Configuration - Maximum Values - Upload Filename Extensions - Catalog

From Zen Cart(tm) Wiki
Jump to: navigation, search


Menu: Admin - Configuration - Maximum Values - Upload Filename Extensions - Catalog


/path/to/your/shop/includes/classes/upload.php

Line #28 : if (!defined(UPLOAD_FILENAME_EXTENSIONS)) define ('UPLOAD_FILENAME_EXTENSIONS','jpg,jpeg,gif,png,eps,cdr,ai,pdf,tif,tiff,bmp,zip');

Line #29 : $extensions=explode(" ",preg_replace('/[.,;\s]+/',' ',UPLOAD_FILENAME_EXTENSIONS));

Line #97 : $messageStack->add('header', ERROR_FILETYPE_NOT_ALLOWED . ' ' . UPLOAD_FILENAME_EXTENSIONS, 'error');

Line #99 : $messageStack->add_session('upload', ERROR_FILETYPE_NOT_ALLOWED . ' - ' . UPLOAD_FILENAME_EXTENSIONS, 'error');