diff options
Diffstat (limited to 'core/templates/403.php')
-rw-r--r-- | core/templates/403.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/templates/403.php b/core/templates/403.php index d56a63bfe53..1ee3569ed03 100644 --- a/core/templates/403.php +++ b/core/templates/403.php @@ -1,6 +1,6 @@ <?php // @codeCoverageIgnoreStart -if(!isset($_)) {//standalone page is not supported anymore - redirect to / +if (!isset($_)) {//standalone page is not supported anymore - redirect to / require_once '../../lib/base.php'; $urlGenerator = \OC::$server->getURLGenerator(); @@ -12,6 +12,8 @@ if(!isset($_)) {//standalone page is not supported anymore - redirect to / <ul> <li class='error'> <?php p($l->t('Access forbidden')); ?><br> - <p class='hint'><?php if(isset($_['message'])) p($_['message'])?></p> + <p class='hint'><?php if (isset($_['message'])) { + p($_['message']); +}?></p> </li> </ul> |