diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-28 17:52:31 -0500 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-28 21:23:15 -0500 |
commit | ad4ba9ff9a32930a835f18b36bb2f3dda1f588d3 (patch) | |
tree | edb80a906d34410b7796cef90af925378d4baa07 /image.php | |
parent | a6b70f9eba2bc4482ce1d432ae248663455a6a27 (diff) | |
download | ampache-ad4ba9ff9a32930a835f18b36bb2f3dda1f588d3.tar.gz ampache-ad4ba9ff9a32930a835f18b36bb2f3dda1f588d3.tar.bz2 ampache-ad4ba9ff9a32930a835f18b36bb2f3dda1f588d3.zip |
Drop stale references to 'xml-rpc'
Diffstat (limited to 'image.php')
-rw-r--r-- | image.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ define('NO_SESSION','1'); require_once 'lib/init.php'; // Check to see if they've got an interface session or a valid API session, if not GTFO -if (!Session::exists('interface', $_COOKIE[Config::get('session_name')]) AND !Session::exists('api', $_REQUEST['auth']) AND !Session::exists('xml-rpc', $_REQUEST['auth'])) { +if (!Session::exists('interface', $_COOKIE[Config::get('session_name')]) && !Session::exists('api', $_REQUEST['auth'])) { debug_event('image','Access denied, checked cookie session:' . $_COOKIE[Config::get('session_name')] . ' and auth:' . $_REQUEST['auth'], 1); exit; } |