mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/16641] Fix config.php validation in ACP - PHP 8
PHPBB3-16641
This commit is contained in:
parent
f711133580
commit
146d72468f
1 changed files with 1 additions and 1 deletions
|
@ -681,7 +681,7 @@ class acp_main
|
||||||
|
|
||||||
$config_ref = $phpbb_root_path . 'config.' . $phpEx;
|
$config_ref = $phpbb_root_path . 'config.' . $phpEx;
|
||||||
|
|
||||||
if (!defined('PHPBB_DISABLE_CONFIG_CHECK') && file_exists($phpbb_root_path . 'config.' . $phpEx)
|
if (!defined('PHPBB_DISABLE_CONFIG_CHECK') && file_exists($config_ref)
|
||||||
&& (function_exists('is_writable') ? is_writable($config_ref) : $phpbb_filesystem->is_writable($config_ref))
|
&& (function_exists('is_writable') ? is_writable($config_ref) : $phpbb_filesystem->is_writable($config_ref))
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue