summaryrefslogtreecommitdiffstats
path: root/image.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-08-20 15:30:24 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-08-20 15:30:24 +0000
commit28fcb8f8ac8417ce8fcfad0d799d3c95d65c117e (patch)
tree451579b6321bcced037215c430c63b959a412d64 /image.php
parent698a737b12495d68e72b9b258b8ddc8f2c1ee7da (diff)
downloadampache-28fcb8f8ac8417ce8fcfad0d799d3c95d65c117e.tar.gz
ampache-28fcb8f8ac8417ce8fcfad0d799d3c95d65c117e.tar.bz2
ampache-28fcb8f8ac8417ce8fcfad0d799d3c95d65c117e.zip
It should not have taken me that long to find the one typo
Diffstat (limited to 'image.php')
-rw-r--r--image.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/image.php b/image.php
index f15739fc..1b5e9179 100644
--- a/image.php
+++ b/image.php
@@ -29,7 +29,6 @@
// this needs to be done a little better, but for now... eah
define('NO_SESSION','1');
require 'lib/init.php';
-exit;
// Check to see if they've got an interface session or a valid API session, if not GTFO
if (!vauth::session_exists('interface',$_COOKIE[Config::get('session_name')]) AND !vauth::session_exists('api',$_REQUEST['auth']) AND !vauth::session_exists('xml-rpc',$_REQUEST['auth'])) {
@@ -90,7 +89,6 @@ switch ($_REQUEST['type']) {
// Attempt to pull art from the database
$art = $album->get_art($return_raw);
$mime = $art['mime'];
-
if (!$mime) {
header('Content-type: image/jpeg');
readfile(Config::get('prefix') . Config::get('theme_path') . '/images/blankalbum.jpg');