diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/class/stream.class.php | 2 | ||||
-rw-r--r-- | lib/ui.lib.php | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/class/stream.class.php b/lib/class/stream.class.php index cc6e9dc1..ab274bf3 100644 --- a/lib/class/stream.class.php +++ b/lib/class/stream.class.php @@ -70,7 +70,7 @@ class Stream { // We're starting insert the session into session_stream if (!$this->insert_session()) { - debug_event('stream','Session Insertion failure, aboring','3'); + debug_event('stream','Session Insertion failure, aborting','3'); return false; } 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; |