fix: cbz path is now in public/cbz
This commit is contained in:
parent
447f1fbe84
commit
9318d0a9a0
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user