summaryrefslogtreecommitdiffstats
path: root/play/index.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-07-11 07:59:29 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-07-11 07:59:29 +0000
commit951c8142919a02a534a103d9e7dec2ba94fb51b7 (patch)
tree76714ef0256c460cd8bd47900cd161259490ff5b /play/index.php
parentb29feaca4960b7190744a12c34f8a587ab008966 (diff)
downloadampache-951c8142919a02a534a103d9e7dec2ba94fb51b7.tar.gz
ampache-951c8142919a02a534a103d9e7dec2ba94fb51b7.tar.bz2
ampache-951c8142919a02a534a103d9e7dec2ba94fb51b7.zip
slight tweak for remote session auth (more debug)
Diffstat (limited to 'play/index.php')
-rw-r--r--play/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/play/index.php b/play/index.php
index 4d843bc4..2cc7a2e1 100644
--- a/play/index.php
+++ b/play/index.php
@@ -45,7 +45,7 @@ if (conf('xml_rpc')) {
$xml_rpc = $_GET['xml_rpc'];
}
-if (conf('require_session')) {
+if (conf('require_session') OR $xml_rpc) {
if(!session_exists($sid,$xml_rpc)) {
die(_("Session Expired: please log in again at") . " " . conf('web_path') . "/login.php");
}