1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 19:41:55 +02:00

Disable Beautiful Url on XML-API for retro-compatibility reason

This commit is contained in:
Afterster 2014-07-18 23:35:33 +02:00
parent 2527b59720
commit a9a050daff
3 changed files with 10 additions and 5 deletions

View file

@ -73,6 +73,9 @@ if ($_REQUEST['action'] != 'handshake' AND $_REQUEST['action'] != 'ping') {
$GLOBALS['user'] = User::get_from_username($username);
}
// Make sure beautiful url is disabled as it is not supported by most Ampache clients
AmpConfig::set('stream_beautiful_url', false, true);
// Get the list of possible methods for the Ampache API
$methods = get_class_methods('api');