summaryrefslogtreecommitdiffstats
path: root/core/templates/404.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/templates/404.php')
-rw-r--r--core/templates/404.php16
1 files changed, 10 insertions, 6 deletions
diff --git a/core/templates/404.php b/core/templates/404.php
index ee17f0de8e1..bf1e03e6bc9 100644
--- a/core/templates/404.php
+++ b/core/templates/404.php
@@ -7,9 +7,13 @@ if(!isset($_)) {//also provide standalone error page
exit;
}
?>
-<ul>
- <li class='error'>
- <?php p($l->t( 'Cloud not found' )); ?><br/>
- <p class='hint'><?php if(isset($_['file'])) p($_['file'])?></p>
- </li>
-</ul>
+<?php if (isset($_['content'])): ?>
+ <?php print_unescaped($_['content']) ?>
+<?php else: ?>
+ <ul>
+ <li class="error">
+ <?php p($l->t( 'Cloud not found' )); ?><br/>
+ <p class='hint'><?php if(isset($_['file'])) p($_['file'])?></p>
+ </li>
+ </ul>
+<?php endif; ?>