From: Vincent Petry Date: Tue, 8 Oct 2013 15:19:58 +0000 (+0200) Subject: Added filesApp flag as input field for files app detection X-Git-Tag: v6.0.0alpha2~55^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cddb85c5886498771d0b92f1a22f17eeb98f44eb;p=nextcloud-server.git Added filesApp flag as input field for files app detection Since the files app can be reached under multiple URLs, either root, files.php or public.php, a flag has been added to the DOM to help apps (like file viewers) to detect whether they are currently in the files app. --- diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php index 5e7ad41b0f0..ebdca097e74 100644 --- a/apps/files/templates/index.php +++ b/apps/files/templates/index.php @@ -108,6 +108,7 @@ + diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index e53887c3590..5d935f645e6 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -2,6 +2,7 @@ +