mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/17189] Append slash after installer cache path
PHPBB3-17189
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
Reference in New Issue
Block a user