summaryrefslogtreecommitdiffstats
path: root/apps/gallery/ajax/galleryOp.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gallery/ajax/galleryOp.php')
-rw-r--r--apps/gallery/ajax/galleryOp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gallery/ajax/galleryOp.php b/apps/gallery/ajax/galleryOp.php
index 1b3ad48f561..98cf71ec14f 100644
--- a/apps/gallery/ajax/galleryOp.php
+++ b/apps/gallery/ajax/galleryOp.php
@@ -22,7 +22,7 @@
*/
header('Content-type: text/html; charset=UTF-8') ;
-require_once('../../../lib/base.php');
+
OC_JSON::checkLoggedIn();
OC_JSON::checkAppEnabled('gallery');