diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-07-15 06:50:58 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-07-15 06:50:58 +0000 |
commit | 0a3df5cbcfc10a0f18e9da311d887eb00fd6fbf1 (patch) | |
tree | 9774ec6174a3bcdf16a7e800aed718c7d4aefdaa /server.php | |
parent | 51b625a4463ab90f14cc85e589867903026e78ec (diff) | |
download | ampache-0a3df5cbcfc10a0f18e9da311d887eb00fd6fbf1.tar.gz ampache-0a3df5cbcfc10a0f18e9da311d887eb00fd6fbf1.tar.bz2 ampache-0a3df5cbcfc10a0f18e9da311d887eb00fd6fbf1.zip |
added on the fly bandwidth management for downsampled users
Diffstat (limited to 'server.php')
-rw-r--r-- | server.php | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -1,6 +1,9 @@ <?php /* + Copyright 2001 - 2005 Ampache.org + All Rights Reserved + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 @@ -19,8 +22,13 @@ $no_session = true; require_once('modules/init.php'); -require_once(conf('prefix') . "/modules/xmlrpc/xmlrpcs.inc"); -require_once(conf('prefix') . "/modules/xmlrpc/xmlrpc.inc"); + + +if (conf('xml_rpc')) { + require_once(conf('prefix') . "/modules/xmlrpc/xmlrpcs.inc"); + require_once(conf('prefix') . "/modules/xmlrpc/xmlrpc.inc"); +} +else { exit(); } /* Setup the vars we are going to need */ $access = new Access(); |