diff options
Diffstat (limited to 'lib/ui.lib.php')
-rw-r--r-- | lib/ui.lib.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ui.lib.php b/lib/ui.lib.php index 10924f08..f8696655 100644 --- a/lib/ui.lib.php +++ b/lib/ui.lib.php @@ -87,7 +87,9 @@ if (!function_exists('_')) { * that they aren't allowed to */ function access_denied() { - + + // Clear any crap we've got up top + ob_end_clean(); require_once Config::get('prefix') . '/templates/show_denied.inc.php'; exit; |