mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/13568] Correctly check rpath and rwpath validation options
PHPBB3-13568
This commit is contained in:
parent
b53fd867be
commit
d50cec998c
1 changed files with 1 additions and 1 deletions
|
@ -545,7 +545,7 @@ function validate_config_vars($config_vars, &$cfg_array, &$error)
|
|||
break;
|
||||
}
|
||||
|
||||
$path = ($config_definition['validate'] === 'wpath' || $config_definition['validate'] === 'path') ? $phpbb_root_path . $cfg_array[$config_name] : $cfg_array[$config_name];
|
||||
$path = in_array($config_definition['validate'], array('wpath', 'path', 'rpath', 'rwpath')) ? $phpbb_root_path . $cfg_array[$config_name] : $cfg_array[$config_name];
|
||||
|
||||
if (!file_exists($path))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue