mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/16641] Fix config.php validation in ACP - PHP 8
PHPBB3-16641
This commit is contained in:
parent
cd42c0e306
commit
f711133580
1 changed files with 1 additions and 1 deletions
|
@ -686,7 +686,7 @@ class acp_main
|
|||
)
|
||||
{
|
||||
// World-Writable? (000x)
|
||||
$template->assign_var('S_WRITABLE_CONFIG', (bool) (@fileperms($phpbb_root_path . 'config.' . $phpEx) & 0x0002));
|
||||
$template->assign_var('S_WRITABLE_CONFIG', (bool) (@fileperms($config_ref) & 0x0002));
|
||||
}
|
||||
|
||||
$this->php_ini = $phpbb_container->get('php_ini');
|
||||
|
|
Loading…
Add table
Reference in a new issue