mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 15:27:42 +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);
|
installer_class_loader($phpbb_root_path, $phpEx);
|
||||||
$supported_error_levels = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_USER_DEPRECATED;
|
$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();
|
$filesystem = new \phpbb\filesystem\filesystem();
|
||||||
if (strpos($error['file'], $filesystem->realpath($cache->cache_dir)) !== false && is_writable($cache->cache_dir))
|
if (strpos($error['file'], $filesystem->realpath($cache->cache_dir)) !== false && is_writable($cache->cache_dir))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user