diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-03-25 14:16:39 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-03-25 14:16:39 +0200 |
commit | ec40f69c9e7a6aba39bd74ff1549e70a93357e4f (patch) | |
tree | 48327473ea6875ead442de25f2b851b5f247598a /core | |
parent | 34c08b3165ff7ee024006b4c425130fde057863c (diff) | |
download | nextcloud-server-ec40f69c9e7a6aba39bd74ff1549e70a93357e4f.tar.gz nextcloud-server-ec40f69c9e7a6aba39bd74ff1549e70a93357e4f.zip |
add error 403 site
Diffstat (limited to 'core')
-rw-r--r-- | core/templates/403.php | 15 |
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> |