You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
622 B
Plaintext
17 lines
622 B
Plaintext
<?php
|
|
|
|
// By default this plugin stores attachments in filesystem
|
|
// and copies them into sql database.
|
|
// You can change it to use 'memcache', '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 specied TTL time in seconds (max.2592000).
|
|
// Default is 12 hours.
|
|
$config['database_attachments_cache_ttl'] = 12 * 60 * 60;
|
|
|
|
?>
|