Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Paroz <github@oparoz.com>2015-08-16 23:21:47 +0300
committerOlivier Paroz <github@oparoz.com>2015-08-16 23:21:47 +0300
commit82443c07147301ebf015bbb948935b7518ff487d (patch)
treea639057138959051f13e13d79ccf7c12e834117c /appinfo
parent12416fc006bd11d12b0fca37316b4e07fa926d47 (diff)
Add code coverage report for api tests
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/application.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/appinfo/application.php b/appinfo/application.php
index 9712d436..a879a89e 100644
--- a/appinfo/application.php
+++ b/appinfo/application.php
@@ -14,6 +14,12 @@ namespace OCA\Gallery\AppInfo;
require_once __DIR__ . '/../vendor/autoload.php';
+// A production environment will not have xdebug enabled and
+// a development environment should have the dev packages installed
+if (extension_loaded('xdebug')) {
+ include_once __DIR__ . '/../c3.php';
+}
+
use OCP\IContainer;
use OCP\AppFramework\App;