[bd] Attachment Store for XenForo 2.0 2.1.3

Store attachment differently and more effectively.

  1. Added support for XenForo 2.1

    xfrocks
    This version includes support for XenForo 2.1.

    It also makes it easier to use the same storage (s3, ftp, etc.) for all files in /data. Just add this into config.php:

    PHP:
    $config['fsAdapters']['data'] = function () {
        return \
    Xfrocks\AttachmentStore\Fs::getAdapterDefault();
    };
    $config['externalDataUrl'] = function ($externalPath$canonical) {
        return 
    'https://s3.amazonaws.com/bucket/' $externalPath;
    };
    eva2000 and Dryline like this.
Return to update list...
Loading...