[ticket/17189] Append slash after installer cache path

PHPBB3-17189
This commit is contained in:
Derky 2023-09-24 13:43:42 +02:00
parent a78eb6fb42
commit 6b6c710706

View file

@ -159,7 +159,7 @@ function installer_shutdown_function($display_errors)
installer_class_loader($phpbb_root_path, $phpEx);
$supported_error_levels = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_USER_DEPRECATED;
$cache = new \phpbb\cache\driver\file(__DIR__ . '/../cache/installer');
$cache = new \phpbb\cache\driver\file(__DIR__ . '/../cache/installer/');
$filesystem = new \phpbb\filesystem\filesystem();
if (strpos($error['file'], $filesystem->realpath($cache->cache_dir)) !== false && is_writable($cache->cache_dir))
{