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

Fix EchoNest autoloader

This commit is contained in:
Afterster 2015-11-22 20:17:56 +01:00
parent 21c486eb50
commit d33676b8d2
4 changed files with 21 additions and 21 deletions

View file

@ -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