www
/
wwwroot
/
mail.scriptexpert.net
/
plugins
/
database_attachments
➕ New
📤 Upload
✎ Editing:
config.inc.php.dist
← Back
<?php // By default this plugin stores attachments in filesystem // and copies them into sql database. // You can change it to use 'memcache', 'memcached', 'redis' or 'apc'. // ----------------------------------------------------------- // WARNING: Remember to set max_allowed_packet in database or // config to match with expected max attachment size. // ----------------------------------------------------------- $config['database_attachments_cache'] = 'db'; // Attachment data expires after specified TTL time in seconds (max.2592000). // Default is 12 hours. $config['database_attachments_cache_ttl'] = 12 * 60 * 60;
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel