Skip to content

Commit 8765878

Browse files
committed
fix: Load libraries in Application#boot()
Signed-off-by: Marcel Klehr <[email protected]>
1 parent 7e09356 commit 8765878

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/AppInfo/Application.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,5 +161,9 @@ public function register(IRegistrationContext $context): void {
161161
}
162162

163163
public function boot(IBootContext $context): void {
164+
// Load PHP Exif Library for adding image metadata
165+
require_once(__DIR__ . '/../../vendor/fileeye/pel/autoload.php');
166+
// Load getID3 library for adding audio metadata
167+
require_once(__DIR__ . '/../../vendor/james-heinrich/getid3/getid3/getid3.php');
164168
}
165169
}

0 commit comments

Comments
 (0)