fix: cbz path is now in public/cbz

This commit is contained in:
ext.jeremy.guillot@maxicoffee.domains
2025-02-01 22:41:41 +01:00
parent 447f1fbe84
commit 9318d0a9a0

View File

@@ -52,7 +52,7 @@ class FileSystemManager
public function createMangaDirectory(string $mangaSlug, ?int $year): string public function createMangaDirectory(string $mangaSlug, ?int $year): string
{ {
$year = $year ?? 'unknown'; $year = $year ?? 'unknown';
$directoryPath = $this->mangaDirectory.'/'.ucfirst($mangaSlug)." ($year)"; $directoryPath = $this->projectDir.'/'.self::CBZ_DIRECTORY.'/'.ucfirst($mangaSlug)." ($year)";
$this->filesystem->mkdir($directoryPath, 0755); $this->filesystem->mkdir($directoryPath, 0755);
return $directoryPath; return $directoryPath;