summaryrefslogtreecommitdiffstats
path: root/core/templates/404.php
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-06-20 20:29:30 +0200
committerJakob Sack <kde@jakobsack.de>2011-06-20 20:29:30 +0200
commit91c37bbb7642b996e4c386b3033cca02831371ef (patch)
tree96984269f6851e9208e26c9533c5ce4e045396c5 /core/templates/404.php
parent272fc252fb71422db2101a76fc541f20924808cd (diff)
downloadnextcloud-server-91c37bbb7642b996e4c386b3033cca02831371ef.tar.gz
nextcloud-server-91c37bbb7642b996e4c386b3033cca02831371ef.zip
moved core stuff to /core
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