diff --git a/src/Manager/FileSystemManager.php b/src/Manager/FileSystemManager.php index 16de11d..df11a6d 100644 --- a/src/Manager/FileSystemManager.php +++ b/src/Manager/FileSystemManager.php @@ -52,7 +52,7 @@ class FileSystemManager public function createMangaDirectory(string $mangaSlug, ?int $year): string { $year = $year ?? 'unknown'; - $directoryPath = $this->mangaDirectory.'/'.ucfirst($mangaSlug)." ($year)"; + $directoryPath = $this->projectDir.'/'.self::CBZ_DIRECTORY.'/'.ucfirst($mangaSlug)." ($year)"; $this->filesystem->mkdir($directoryPath, 0755); return $directoryPath;