summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-03-25 14:16:39 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-03-25 14:16:39 +0200
commitec40f69c9e7a6aba39bd74ff1549e70a93357e4f (patch)
tree48327473ea6875ead442de25f2b851b5f247598a /core
parent34c08b3165ff7ee024006b4c425130fde057863c (diff)
downloadnextcloud-server-ec40f69c9e7a6aba39bd74ff1549e70a93357e4f.tar.gz
nextcloud-server-ec40f69c9e7a6aba39bd74ff1549e70a93357e4f.zip
add error 403 site
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>