summaryrefslogtreecommitdiffstats
path: root/apps/gallery/ajax/sharing.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gallery/ajax/sharing.php')
-rw-r--r--apps/gallery/ajax/sharing.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gallery/ajax/sharing.php b/apps/gallery/ajax/sharing.php
index fba85fa34ee..ce56d652c60 100644
--- a/apps/gallery/ajax/sharing.php
+++ b/apps/gallery/ajax/sharing.php
@@ -21,7 +21,7 @@
*
*/
-require_once('../../../lib/base.php');
+
if (!isset($_GET['token']) || !isset($_GET['operation'])) {
OC_JSON::error(array('cause' => 'Not enought arguments'));