From f4782a76907cf010faf9f4cd7deb3a67a2d02de9 Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Fri, 30 Sep 2011 23:05:10 +0200 Subject: Check if the application is actually enabled --- apps/files_sharing/get.php | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/files_sharing/get.php') diff --git a/apps/files_sharing/get.php b/apps/files_sharing/get.php index 33918bf9e7d..083f48e1127 100644 --- a/apps/files_sharing/get.php +++ b/apps/files_sharing/get.php @@ -3,6 +3,7 @@ $RUNTIME_NOAPPS=true; //no need to load the apps $RUNTIME_NOSETUPFS=true; //don't setup the fs yet require_once '../../lib/base.php'; +OC_JSON::checkAppEnabled('files_sharing'); require_once 'lib_share.php'; //get the path of the shared file -- cgit v1.2.3