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