diff options
author | dipsol <dipsol@ampache> | 2008-12-11 15:21:07 +0000 |
---|---|---|
committer | dipsol <dipsol@ampache> | 2008-12-11 15:21:07 +0000 |
commit | e415574302f507405c85daf96e050e07ce54d5cc (patch) | |
tree | cca1097a9497a4da505766b8fba23784b326b878 /image.php | |
parent | efa0fda4ff3133e15c79489e49258247182e3c50 (diff) | |
download | ampache-e415574302f507405c85daf96e050e07ce54d5cc.tar.gz ampache-e415574302f507405c85daf96e050e07ce54d5cc.tar.bz2 ampache-e415574302f507405c85daf96e050e07ce54d5cc.zip |
When updating an remote catalog it will try to grab the images from the remote machine to the local database.
Diffstat (limited to 'image.php')
-rw-r--r-- | image.php | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -31,7 +31,11 @@ define('NO_SESSION','1'); require 'lib/init.php'; // 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'])) { +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']) + ) +{ debug_event('DENIED','Image Access, Checked Cookie Session and Auth:' . $_REQUEST['auth'],'1'); exit; } |