mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 19:41:55 +02:00
Fix EchoNest autoloader
This commit is contained in:
parent
21c486eb50
commit
d33676b8d2
4 changed files with 21 additions and 21 deletions
|
@ -55,7 +55,9 @@ AmpConfig::set('prefix', $prefix);
|
|||
spl_autoload_register(array('Core', 'autoload'), true, true);
|
||||
$composer_autoload = $prefix . '/lib/vendor/autoload.php';
|
||||
if (file_exists($composer_autoload)) {
|
||||
require_once $prefix . '/lib/vendor/autoload.php';
|
||||
require_once $composer_autoload;
|
||||
require_once $prefix . '/lib/vendor/Afterster/php-echonest-api/lib/EchoNest/Autoloader.php';
|
||||
EchoNest_Autoloader::register();
|
||||
}
|
||||
|
||||
// Check to see if this is http or https
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue