diff options
Diffstat (limited to 'apps/media/ajax/api.php')
-rw-r--r-- | apps/media/ajax/api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/media/ajax/api.php b/apps/media/ajax/api.php index 9d9c14deb17..72235bf5db8 100644 --- a/apps/media/ajax/api.php +++ b/apps/media/ajax/api.php @@ -23,7 +23,7 @@ header('Content-type: text/html; charset=UTF-8') ; -require_once('../../../lib/base.php'); + OC_JSON::checkAppEnabled('media'); require_once('../lib_collection.php'); require_once('../lib_scanner.php'); |