Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed default upload path to media/com_attachments/tmp

  • Loading branch information...
commit dc092f02ab6ab97c381eb6f478b20539ad3ff702 1 parent f0b4591
Babs Gösgens babsgosgens authored
Showing with 14 additions and 14 deletions.
  1. +14 −14 admin/components/com_attachments/databases/behaviors/uploadable.php
28 admin/components/com_attachments/databases/behaviors/uploadable.php
View
@@ -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
));
Please sign in to comment.
Something went wrong with that request. Please try again.