fix: suppress open_basedir warning in favicon check, disable open_basedir in prod

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
aminovfariz
2026-05-28 19:07:47 +02:00
parent ec596d35d4
commit 0d078f233d
2 changed files with 3 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ class TenantFaviconService
return false;
}
$path = $this->publicDir($uuid) . '/favicon-32x32.png';
return is_file($path);
return @is_file($path);
}
public function delete(string $uuid): void