Permalink
Browse files

Changed default upload path to media/com_attachments/tmp

  • Loading branch information...
1 parent f0b4591 commit dc092f02ab6ab97c381eb6f478b20539ad3ff702 @babsgosgens babsgosgens committed May 25, 2011
Showing with 14 additions and 14 deletions.
  1. +14 −14 admin/components/com_attachments/databases/behaviors/uploadable.php
@@ -63,23 +63,23 @@ protected function _initialize(KConfig $config)
* Get (some of) these values through component's parameters
*/
$config->append(array(
- 'files' => KRequest::get('files', 'raw'),
- 'file_path' => 'tmp/',
- 'max_size' => 4194304,
+ 'files' => KRequest::get('files', 'raw'),
+ 'file_path' => 'media/com_attachments/tmp/',
+ 'max_size' => 4194304,
'allowed_mime' => array(
- 'image/jpeg',
- 'image/jpg',
- 'image/png',
- 'image/gif',
- 'application/pdf',
- 'application/zip',
- 'application/msword',
- 'application/vnd.ms-excel',
- 'application/octet-stream'
- ),
+ 'image/jpeg',
+ 'image/jpg',
+ 'image/png',
+ 'image/gif',
+ 'application/pdf',
+ 'application/zip',
+ 'application/msword',
+ 'application/vnd.ms-excel',
+ 'application/octet-stream'
+ ),
'separator' => '-',
'filename' => '',
- 'store' => true,
+ 'store' => true,
'store_full_path' => true
));

0 comments on commit dc092f0

Please sign in to comment.