1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lack of Interest XenForo_FileOutput extendability (for X-Accel-Redirect/X-SendFile)

Discussion in 'Closed Suggestions' started by Xon, Dec 30, 2014.

  1. Xon

    Xon Well-Known Member

    XenForo_FileOutput doesn't go via the dynamic class resolution.

    This means adding support for;

    Requires a code edit, or a custom autoloader.

    These are advanced features, which allow php to-do authentication and then delegate to the webserver to actually serve the file.

    Would I don't expect XF to implement all those features in core, it would be nice to be able to implement them via an addon simply by hooking the XenForo_FileOutput class by event listeners in the usual way.
     
    ANGEL OF FIRE likes this.

Share This Page