Welcome, Guest
Username: Password: Remember me

TOPIC: RE: file extension error

RE: file extension error 24 May 2012 17:08 #2407

  • dheyfesson
  • dheyfesson's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Thank you received: 1
  • Karma: 0
I found the solution!

I edited the file file.php
function save(){
.
.
.

//UPLOAD FILE : Arquivo
if (!$this->_upload('arquivo', &$post, array(
'application/msword' => 'doc',
'application/pdf' => 'pdf',
'application/x-gzip' => 'tar.gz', /*to 'application/x-gzip' => 'gz' */ :cheer:
'application/x-zip' => 'zip' /*'application/zip' => 'zip'*/ :cheer:
)))
return;
The administrator has disabled public write access.
Time to create page: 0.081 seconds

Get Started