From 773159c412ea520a4905f91584ffbd094ce70b13 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 23 Dec 2020 18:30:50 +0100 Subject: [PATCH] Enable the media page in offline mode This is consistent with the existing exception from the forced login (`AbstractPage::forceLogin()`). Fixes #3836 --- wcfsetup/install/files/lib/page/MediaPage.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcfsetup/install/files/lib/page/MediaPage.class.php b/wcfsetup/install/files/lib/page/MediaPage.class.php index b78ae5816d..6d7e1c2a7c 100644 --- a/wcfsetup/install/files/lib/page/MediaPage.class.php +++ b/wcfsetup/install/files/lib/page/MediaPage.class.php @@ -17,6 +17,8 @@ use wcf\util\StringUtil; * @since 3.0 */ class MediaPage extends AbstractPage { + const AVAILABLE_DURING_OFFLINE_MODE = true; + /** * etag for the media file * @var string -- 2.20.1