diff options
author | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-04-12 12:49:11 +0200 |
---|---|---|
committer | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-04-12 12:49:11 +0200 |
commit | fdee771aca39f394c940edfcaa5a15826b078974 (patch) | |
tree | 400c956152f57c14bdfae094bbd3de265dd7baba /core/templates/404.php | |
parent | 276b8a583112203b9b71e4ac2b372e50ca62df9b (diff) | |
download | nextcloud-server-fdee771aca39f394c940edfcaa5a15826b078974.tar.gz nextcloud-server-fdee771aca39f394c940edfcaa5a15826b078974.zip |
Add unit testing capabilities for templates (#23708)
Add unit testing capabilities for templates
Diffstat (limited to 'core/templates/404.php')
-rw-r--r-- | core/templates/404.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/templates/404.php b/core/templates/404.php index 2b12b12cff7..a0d2f0160b7 100644 --- a/core/templates/404.php +++ b/core/templates/404.php @@ -1,6 +1,8 @@ <?php /** @var $_ array */ /** @var $l OC_L10N */ +/** @var $theme OC_Theme */ +// @codeCoverageIgnoreStart if(!isset($_)) {//also provide standalone error page require_once '../../lib/base.php'; @@ -8,6 +10,7 @@ if(!isset($_)) {//also provide standalone error page $tmpl->printPage(); exit; } +// @codeCoverageIgnoreEnd ?> <?php if (isset($_['content'])): ?> <?php print_unescaped($_['content']) ?> |