Index: stream.php =================================================================== --- stream.php (revision 23523) +++ stream.php (working copy) @@ -99,7 +99,7 @@ } // Otherwise, send it via the backend else { - global $Master_Host; + $Master_Host = setting('MasterServerIP'); $port = _or(get_backend_setting('BackendStatusPort', $Master_Host), get_backend_setting('BackendStatusPort')); readfile("http://$Master_Host:$port/Myth/$xml_command?Id=".$xml_id);