summaryrefslogtreecommitdiffstats
path: root/apps/media/ajax/autoupdate.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/media/ajax/autoupdate.php')
-rw-r--r--apps/media/ajax/autoupdate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/media/ajax/autoupdate.php b/apps/media/ajax/autoupdate.php
index a78b5e25dd1..ea7c5006e70 100644
--- a/apps/media/ajax/autoupdate.php
+++ b/apps/media/ajax/autoupdate.php
@@ -27,7 +27,7 @@ header('Content-type: text/html; charset=UTF-8') ;
$RUNTIME_NOAPPS=true;
$RUNTIME_NOSETUPFS=true;
-require_once('../../../lib/base.php');
+
OC_JSON::checkAppEnabled('media');
$autoUpdate=(isset($_GET['autoupdate']) and $_GET['autoupdate']=='true');