diff options
author | Bernhard Posselt <Raydiation@users.noreply.github.com> | 2015-03-30 19:40:07 +0200 |
---|---|---|
committer | Bernhard Posselt <Raydiation@users.noreply.github.com> | 2015-03-30 19:40:07 +0200 |
commit | 05985bc2965f8a332e98121050ba1f07343bbc0f (patch) | |
tree | 96ca5d59b7ce3c9d3678dd95d8595145d1d5df08 /appinfo/app.php | |
parent | eb7fc97f33cadcf041a06915b8f1650a9b4f6bbb (diff) | |
parent | ee3d2332ec97487893ae5f1f46b599c550b25eb6 (diff) |
Merge pull request #751 from owncloud/next
Changes for 8.1
Diffstat (limited to 'appinfo/app.php')
-rw-r--r-- | appinfo/app.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/appinfo/app.php b/appinfo/app.php index 66c0ef166..d1a84a292 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -13,13 +13,15 @@ namespace OCA\News\AppInfo; -use \OCA\News\Config\DependencyException; +use Exception; + +require_once __DIR__ . '/../vendor/autoload.php'; // Turn all errors into exceptions to combat shitty library behavior set_error_handler(function ($code, $message) { if ($code === E_ERROR || $code === E_USER_ERROR) { - throw new \Exception($message, $code); + throw new Exception($message, $code); } }); |