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.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/core/templates/404.php b/core/templates/404.php
new file mode 100644
index 00000000000..b287571d166
--- /dev/null
+++ b/core/templates/404.php
@@ -0,0 +1,19 @@
+<?php
+if(!isset($_)){//also provide standalone error page
+ require_once '../lib/base.php';
+ require( 'template.php' );
+
+ $tmpl = new OC_TEMPLATE( '', '404', 'guest' );
+ $tmpl->printPage();
+ exit;
+}
+?>
+<div id="login">
+ <img src="<?php echo image_path("", "weather-clear.png"); ?>" alt="ownCloud" />
+ <ul>
+ <li class='error'>
+ <?php echo $l->t( 'Error 404, Cloud not found' ); ?><br/>
+ <p class='hint'><?php if(isset($_['file'])) echo $_['file']?></p>
+ </li>
+ </ul>
+</div> \ No newline at end of file