summaryrefslogtreecommitdiffstats
path: root/play
diff options
context:
space:
mode:
Diffstat (limited to 'play')
-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");
}