summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-03-26 09:50:39 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-03-26 09:50:39 +0200
commit96dd008f5ed34f922678220966531719b392fc15 (patch)
tree5d1aa1c8fd390f170981bbb76c6fcedf9c405604 /core
parentb7a5ae38c58cc9a1973febfce40c5f076ff5d772 (diff)
parent102cf150b3a1de43877878debf9aef5f386d543b (diff)
downloadnextcloud-server-96dd008f5ed34f922678220966531719b392fc15.tar.gz
nextcloud-server-96dd008f5ed34f922678220966531719b392fc15.zip
Merge branch 'master' into calendar_sharing
Diffstat (limited to 'core')
-rw-r--r--core/templates/403.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/core/templates/403.php b/core/templates/403.php
new file mode 100644
index 00000000000..cdfef08ac76
--- /dev/null
+++ b/core/templates/403.php
@@ -0,0 +1,15 @@
+<?php
+if(!isset($_)){//also provide standalone error page
+ require_once '../../lib/base.php';
+
+ $tmpl = new OC_Template( '', '403', 'guest' );
+ $tmpl->printPage();
+ exit;
+}
+?>
+<ul>
+ <li class='error'>
+ <?php echo $l->t( 'Access forbidden' ); ?><br/>
+ <p class='hint'><?php if(isset($_['file'])) echo $_['file']?></p>
+ </li>
+</ul>