Major refactor of photo processing, video processing still to do

This commit is contained in:
2024-08-31 22:23:07 +10:00
parent 2d04c8ccbb
commit 9208ddf779
27 changed files with 3581 additions and 1017 deletions

View File

@@ -12,7 +12,7 @@ trait Type
{
private function getModelType(string $type): string
{
$class = 'App\Models\\'.$type;
$class = 'App\Models\\'.ucfirst(strtolower($type));
if (! class_exists($class))
abort(500,sprintf('No class [%s]',$type));