]> git.wh0rd.org - tt-rss.git/blobdiff - error.php
remove PG_VERSION config variable, get version from server
[tt-rss.git] / error.php
index 2dd8e133e6e326770a7e59628442de2337d1232d..8c5a6a4b5efb761148197b6ec1e0392c3da84604 100644 (file)
--- a/error.php
+++ b/error.php
@@ -28,6 +28,7 @@
 
        $ERRORS[8] = "Could not display feed: query failed. Please check label match syntax or local configuration.";
 
+       $ERRORS[8] = "Denied. Your access level is insufficient to access this page.";
 ?>
 
 <html>
                
                <h1>Fatal Error</h1>
 
-               <div class="bigErrorMsg"><?= $ERRORS[$_GET["c"]] ?></div>
+               <div class="bigErrorMsg"><?= $ERRORS[$_GET["c"]] ?>
+
+               <? if ($_GET["p"]) { ?>
+                       <p><?= htmlspecialchars($_GET["p"]) ?></p>
+               <? } ?>
+               </div>
 
        </td>
 </tr>