summaryrefslogtreecommitdiffstats
path: root/apps/gallery/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gallery/index.php')
-rw-r--r--apps/gallery/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gallery/index.php b/apps/gallery/index.php
index 7de7c094142..8c45cfb19fc 100644
--- a/apps/gallery/index.php
+++ b/apps/gallery/index.php
@@ -21,7 +21,7 @@
*
*/
-require_once('../../lib/base.php');
+
OC_Util::checkLoggedIn();
OC_Util::checkAppEnabled('gallery');