diff options
author | Olivier Paroz <github@oparoz.com> | 2015-08-16 23:21:47 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-08-16 23:21:47 +0300 |
commit | 82443c07147301ebf015bbb948935b7518ff487d (patch) | |
tree | a639057138959051f13e13d79ccf7c12e834117c /appinfo | |
parent | 12416fc006bd11d12b0fca37316b4e07fa926d47 (diff) |
Add code coverage report for api tests
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/application.php | 6 |
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; |