diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-12-01 21:36:24 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-12-01 21:36:24 +0000 |
commit | 362610c13217a9ee364f97262c2fc878d97c335a (patch) | |
tree | 885d1b54b04c77906f9eccea365c6fe091f81b34 /lib | |
parent | 06bba3740b0bb4efd11cba8386a414ad4ae1fdb6 (diff) | |
download | ampache-362610c13217a9ee364f97262c2fc878d97c335a.tar.gz ampache-362610c13217a9ee364f97262c2fc878d97c335a.tar.bz2 ampache-362610c13217a9ee364f97262c2fc878d97c335a.zip |
fixed access denied display, fixed typo in error log and fixed missing artist_songs
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; |