View Single Post
  #4  
Old 18th May 2012, 21:01
mmisu120000's Avatar
mmisu120000 mmisu120000 is offline
Senior Member
 
Join Date: Jun 2009
P2P
Posts: 202
Default
It's not hard ... look in takeupload.php for :
PHP Code:
$upload->allowed_ext = array ('gif''jpg''png'); 
or something like that ... and replace with:
PHP Code:
$upload->allowed_ext = array ('gif''jpg''png''jpeg'); 
and find:
PHP Code:
$handle->allowed = array ('image/gif''image/jpg''image/jpeg'); 
and replace with:
PHP Code:
$handle->allowed = array ('image/gif''image/jpg''image/jpeg''image/png'); 
......


and in takeedit.php find:
PHP Code:
$upload->allowed_ext = array ('gif''jpg''png'); 
and replace with:
PHP Code:
$upload->allowed_ext = array ('gif''jpg''png''jpeg'); 
and find:
PHP Code:
$handle->allowed = array ('image/gif''image/jpg''image/jpeg'); 
and replace with:

PHP Code:
$handle->allowed = array ('image/gif''image/jpg''image/jpeg''image/png'); 
This should do it ...
__________________
"How terrible is wisdom when it holds no benefit for the wise?" - Louis Cypher
WDW Tracker - Using heavy modified TSSE
Reply With Quote
The Following User Says Thank You to mmisu120000 For This Useful Post:
Marco (17th July 2012)