Implemented Allow XenForo_ProxyOutput to be extended

Jon W

Well-known member
Please could you replace the static run method in XenForo_ProxyOutput in XenForo 1.3 with:
PHP:
    /**
     * Static helper to execute a full request for proxy output
     */
    public static function run()
    {
        $dependencies = new XenForo_Dependencies_Public();
        $dependencies->preLoadData();

        $class = XenForo_Application::resolveDynamicClass('XenForo_ProxyOutput');

        $proxyOutput = new $class($_REQUEST, $dependencies);
        $proxyOutput->output();
    }

I would really like to be able to extend this class.
 
Upvote 3
This suggestion has been implemented. Votes are no longer accepted.
I have done this, but I'm not clear on why. Suggestions tend to be better if they explain motivations as well as the desired change (as it makes it more compelling).
 
Thanks, and point taken.

In this case, I would like to add other proxies -- namely, a thumbnail proxy for my Thread Thumbnails add-on.
 
Top Bottom