mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
Well, let's add the implementation. :|
git-svn-id: file:///svn/phpbb/trunk@7794 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -430,6 +430,21 @@ function validate_config_vars($config_vars, &$cfg_array, &$error)
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
// Absolute path
|
||||||
|
case 'lang':
|
||||||
|
if (!$cfg_array[$config_name])
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
$cfg_array[$config_name] = basename($cfg_array[$config_name]);
|
||||||
|
|
||||||
|
if (!file_exists($phpbb_root_path . 'language/' . $cfg_array[$config_name] . '/'))
|
||||||
|
{
|
||||||
|
$error[] = $user->lang['WRONG_DATA_LANG'];
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
// Relative path (appended $phpbb_root_path)
|
// Relative path (appended $phpbb_root_path)
|
||||||
case 'rpath':
|
case 'rpath':
|
||||||
case 'rwpath':
|
case 'rwpath':
|
||||||
|
Reference in New Issue
Block a user