Fixed bin autoload stuff
This commit is contained in:
parent
a9c1a3ccbe
commit
01f6f960dc
@ -8,7 +8,14 @@
|
|||||||
// Licensed under GNU GPL v3 or later.
|
// Licensed under GNU GPL v3 or later.
|
||||||
//
|
//
|
||||||
|
|
||||||
require_once __DIR__."/../vendor/autoload.php";
|
foreach ([
|
||||||
|
__DIR__."/../../autoload.php",
|
||||||
|
__DIR__."/../vendor/autoload.php"
|
||||||
|
] as $autoload) {
|
||||||
|
if (file_exists($autoload)) {
|
||||||
|
require_once $autoload; break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
use NoccyLabs\UPnP\SSDP\Device;
|
use NoccyLabs\UPnP\SSDP\Device;
|
||||||
use NoccyLabs\UPnP\SSDP\Discovery;
|
use NoccyLabs\UPnP\SSDP\Discovery;
|
||||||
|
Loading…
Reference in New Issue
Block a user