diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-03-20 16:15:18 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-03-24 12:57:11 +0100 |
commit | 10c9b8eb996bcabbe4ef40c51248fd6fca70814a (patch) | |
tree | 349246a3f79e37ba8f04e950253d9af5fa8f1251 /lib/private/forbiddenexception.php | |
parent | abdc823bb69600c3a4fc23e09f9de5819b57f56e (diff) | |
download | nextcloud-server-10c9b8eb996bcabbe4ef40c51248fd6fca70814a.tar.gz nextcloud-server-10c9b8eb996bcabbe4ef40c51248fd6fca70814a.zip |
Cache folder is now configurable
When using an external cache folder, it is automatically mounted in
FileSystem::initFileSystem so that any app can use it transparently
by creating a view on the "/$user/cache" directory.
Diffstat (limited to 'lib/private/forbiddenexception.php')
-rw-r--r-- | lib/private/forbiddenexception.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/private/forbiddenexception.php b/lib/private/forbiddenexception.php new file mode 100644 index 00000000000..14a4cd14984 --- /dev/null +++ b/lib/private/forbiddenexception.php @@ -0,0 +1,16 @@ +<?php +/** + * Copyright (c) 2014 Vincent Petry <pvince81@owncloud.com> + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + +namespace OC; + +/** + * Exception thrown whenever access to a resource has + * been forbidden or whenever a user isn't authenticated. + */ +class ForbiddenException extends \Exception { +} |