diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-09-29 11:13:01 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-09-29 11:13:06 +0200 |
commit | e5f0dded84a544f4ebd983ef8fb6d898df230575 (patch) | |
tree | 4923a044815e33a645b219d852a8ea16185fcf7a /apps/files_sharing/appinfo | |
parent | 2a4da7fe09825a2b94d63edec8985590ad7226e1 (diff) | |
download | nextcloud-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.php | 3 |
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(); |