summaryrefslogtreecommitdiffstats
path: root/image.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-01-28 17:52:31 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2013-01-28 21:23:15 -0500
commitad4ba9ff9a32930a835f18b36bb2f3dda1f588d3 (patch)
treeedb80a906d34410b7796cef90af925378d4baa07 /image.php
parenta6b70f9eba2bc4482ce1d432ae248663455a6a27 (diff)
downloadampache-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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/image.php b/image.php
index a08fb8a1..00bf1092 100644
--- a/image.php
+++ b/image.php
@@ -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;
}