This commit is contained in:
2023-08-29 15:38:37 +10:00
parent 4b0c113941
commit b01c5d57c7
2 changed files with 9 additions and 3 deletions

View File

@@ -69,9 +69,11 @@ function tempFileInfo(string $filePath): array
function tempFileExists(string $dir, string $name, string $extension = '', string $part = ''): string
{
$filename = constructTempFileName($dir, $name, $extension, $part);
Log::Info($filename);
return file_exists($filename);
$exists = file_exists($filename);
Log::Info($filename . ' ' . ($exists ? 'true' : 'false'));
return $exists;
}
/**