Fix E_NOTICE: Only variables should be passed by reference
[phorkie.git] / www / forbidden.php
1 <?php
2 namespace phorkie;
3 /**
4  * Show an access denied error
5  */
6
7 header('HTTP/1.0 403 Forbidden');
8 render(
9     'forbidden',
10     array(
11         'identity' => isset($_SESSION['identity']) ? $_SESSION['identity'] : null
12     )
13 );
14 exit();
15 ?>