summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-09-29 11:13:01 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2014-09-29 11:13:06 +0200
commite5f0dded84a544f4ebd983ef8fb6d898df230575 (patch)
tree4923a044815e33a645b219d852a8ea16185fcf7a /apps/files_sharing/appinfo
parent2a4da7fe09825a2b94d63edec8985590ad7226e1 (diff)
downloadnextcloud-server-e5f0dded84a544f4ebd983ef8fb6d898df230575.tar.gz
nextcloud-server-e5f0dded84a544f4ebd983ef8fb6d898df230575.zip
throw a exception if we can't handle the provided path
Diffstat (limited to 'apps/files_sharing/appinfo')
-rw-r--r--apps/files_sharing/appinfo/app.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php
index 543cae7b0c1..f2c454a9ae2 100644
--- a/apps/files_sharing/appinfo/app.php
+++ b/apps/files_sharing/appinfo/app.php
@@ -12,6 +12,9 @@ OC::$CLASSPATH['OCA\Files\Share\Api'] = 'files_sharing/lib/api.php';
OC::$CLASSPATH['OCA\Files\Share\Maintainer'] = 'files_sharing/lib/maintainer.php';
OC::$CLASSPATH['OCA\Files\Share\Proxy'] = 'files_sharing/lib/proxy.php';
+// Exceptions
+OC::$CLASSPATH['OCA\Files_Sharing\Exceptions\BrokenPath'] = 'files_sharing/lib/exceptions.php';
+
\OCP\App::registerAdmin('files_sharing', 'settings-admin');
\OCA\Files_Sharing\Helper::registerHooks();