From 6a36d7fa864ec241d05a00b419ca48cf84ca41ff Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Mon, 7 Oct 2013 16:59:57 +0200 Subject: [PATCH] Added isPublic flag in files_sharing template To make it possible for apps to find out whether they are running in public mode, the flag "isPublic" will now be present in the DOM. This is required to disable the editor app in public mode to fix #5059 --- apps/files_sharing/templates/public.php | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index c164b3ea2b..e53887c359 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -2,6 +2,7 @@ +