summaryrefslogtreecommitdiffstats
path: root/image.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-11-21 08:44:21 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-11-21 08:44:21 +0000
commit9ded189f8c466838c4a1913126383ee21061e102 (patch)
tree5ca5298f3dbb5dbf30e8e66191112ce6bcc10822 /image.php
parent8f883bfa4554dd8894eb5236f6f06f7b49ea3225 (diff)
downloadampache-9ded189f8c466838c4a1913126383ee21061e102.tar.gz
ampache-9ded189f8c466838c4a1913126383ee21061e102.tar.bz2
ampache-9ded189f8c466838c4a1913126383ee21061e102.zip
really fixed image, and put in a quick hack on play for api access
Diffstat (limited to 'image.php')
-rw-r--r--image.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/image.php b/image.php
index 8ea39ecd..e8bb7606 100644
--- a/image.php
+++ b/image.php
@@ -31,7 +31,7 @@ define('NO_SESSION','1');
require 'lib/init.php';
// Check their session manually
-if (!session_exists(session_id()) && !Access::session_exists(array(),$_REQUEST['auth'],'api')) {
+if (!vauth_check_session() && !Access::session_exists(array(),$_REQUEST['auth'],'api')) {
exit;
}