Jump to content

How to use application::allowOfflineAccess?


Go to solution Solved by WP V0RT3X,

Recommended Posts

On 10/20/2021 at 2:20 PM, Darth Vortex said:
    public function allowOfflineAccess( \IPS\Application\Module $module, $controller, $do )
    {
        if ( $module->key == 'imprint' AND $controller == 'imprintpage' )
        {
            return TRUE;
        }
        return parent::allowOfflineAccess( $module, $controller, $do );
    }

I am using this on my Imprint application.

Thank you!

Edited by OctoDev
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...