summaryrefslogtreecommitdiffstats
path: root/appinfo/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'appinfo/app.php')
-rw-r--r--appinfo/app.php6
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);
}
});