mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Use mediavorus as core service
This commit is contained in:
@@ -84,7 +84,7 @@ class patch_370a7 implements patchInterface
|
||||
$filePath = __DIR__ . '/../../../tmp/lazaret/' . $row['filepath'];
|
||||
|
||||
if (file_exists($filePath)) {
|
||||
$media = \MediaVorus\MediaVorus::guess(new \SplFileInfo($filePath));
|
||||
$media = $Core['mediavorus']->guess(new \SplFileInfo($filePath));
|
||||
|
||||
$collection = \collection::get_from_base_id($row['base_id']);
|
||||
|
||||
|
Reference in New Issue
Block a user