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

Use Composer for dependencies

This commit is contained in:
Afterster 2015-09-13 23:23:51 +02:00
parent fa8084d312
commit 16d80f8435
1882 changed files with 3711 additions and 327466 deletions

View file

@ -42,7 +42,9 @@ class Ampachegrowl {
*/
public function __construct() {
require_once AmpConfig::get('prefix') . '/modules/growl/growl.gntp.php';
if (!@include_once(AmpConfig::get('prefix') . '/lib/vendor/jamiebicknell/Growl-GNTP/growl.gntp.php')) {
throw new Exception('Missing Growl-GNTP dependency.');
}
return true;