Jump to content

Hard-coded reference to \IPS\File\Amazon in Downloads app

Featured Replies

Posted

Could you replace:

        /* If it's an AWS file just redirect to it */
        if ( $file instanceof \IPS\File\Amazon )
        {
            \IPS\Output::i()->redirect( $file->generateTemporaryDownloadUrl() );
        }

in the Downloads app (or any other places that $file->generateTemporaryDownloadUrl() is called) to look up the method in the storage method used for the file?

I want to implement  generateTemporaryDownloadUrl() in a storage method I'm coding now and have it used by IPS apps such as the Download app.

I've raised your request internally

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.