Skip to content

Commit

Permalink
You are not authorized. site added
Browse files Browse the repository at this point in the history
  • Loading branch information
kokspflanze committed Nov 1, 2015
1 parent 32a6c08 commit 0777cee
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/module.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@
'layout/layout' => __DIR__ . '/../view/layout/layout.twig',
'p-server-cms/index/index' => __DIR__ . '/../view/p-server-cms/index/index.phtml',
'error/404' => __DIR__ . '/../view/error/404.phtml',
'error/403' => __DIR__ . '/../view/error/403.twig',
'error/index' => __DIR__ . '/../view/error/index.phtml',
'email/tpl/register' => __DIR__ . '/../view/email/tpl/register.phtml',
'email/tpl/password' => __DIR__ . '/../view/email/tpl/password.phtml',
Expand Down
11 changes: 11 additions & 0 deletions view/error/403.twig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{% extends 'layout/layout' %}


{% block title %}
{{ translate('403 - Forbidden') }}
{% endblock title %}

{% block content %}
<h1>{{ translate('403 Forbidden') }}</h1>
<p>{{ translate('You are not authorized.') }}</p>
{% endblock content %}

0 comments on commit 0777cee

Please sign in to comment.