diff --git a/config/module.config.php b/config/module.config.php index 01c8845..9d270d8 100644 --- a/config/module.config.php +++ b/config/module.config.php @@ -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', diff --git a/view/error/403.twig b/view/error/403.twig new file mode 100644 index 0000000..996765d --- /dev/null +++ b/view/error/403.twig @@ -0,0 +1,11 @@ +{% extends 'layout/layout' %} + + +{% block title %} + {{ translate('403 - Forbidden') }} +{% endblock title %} + +{% block content %} +

{{ translate('403 Forbidden') }}

+

{{ translate('You are not authorized.') }}

+{% endblock content %} \ No newline at end of file