summaryrefslogtreecommitdiffstats
path: root/appinfo/app.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-03-22 16:16:09 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2015-03-22 16:16:09 +0100
commit026ccbc8875fc78b665dec95c308afe8a3c5899e (patch)
treeef697e2590b31534c640fb92dc9210acda9a50e3 /appinfo/app.php
parent8afd5adfcf6f7ec78eddb96b77efcd316a0a0293 (diff)
add back scrutinizer
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);
}
});