more seeders, drop-down for profile
This commit is contained in:
1 parent
3ccc525313
commit
a4a36087e4
6 files changed
+66
-3
No files matched your search
@@ -21,7 +21,8 @@ class ConvertToComic implements ShouldQueue
|
||||
{
|
||||
$absolutePath = Storage::disk('public')->path($this->photoJob->image_path);
|
||||
|
||||
$photoprofile = Photoprofile::where('active', 1)->first();
|
||||
$photoprofile = $this->photoJob->photoprofile
|
||||
?? Photoprofile::where('active', 1)->first();
|
||||
$photocommands = [];
|
||||
foreach (explode(PHP_EOL, $photoprofile->commands) as $command) {
|
||||
if (count($photocommands) > 0) $photocommands[] = ' && gmic ' . escapeshellarg($absolutePath) . ' ' . $command . ' -o ' . escapeshellarg($absolutePath);
|
||||
|
||||
Reference in new issue
Block a user