From: Alexander Ebert Date: Wed, 23 Dec 2020 17:30:50 +0000 (+0100) Subject: Enable the media page in offline mode X-Git-Tag: 5.3.2~14 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=773159c412ea520a4905f91584ffbd094ce70b13;p=GitHub%2FWoltLab%2FWCF.git Enable the media page in offline mode This is consistent with the existing exception from the forced login (`AbstractPage::forceLogin()`). Fixes #3836 --- 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