1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-05 15:16:16 +02:00

- typo in functions.php

- #4826


git-svn-id: file:///svn/phpbb/trunk@6510 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M 2006-10-18 23:58:31 +00:00
parent 2d3af47407
commit 9a0ca3d334
3 changed files with 8 additions and 1 deletions

View File

@ -365,6 +365,12 @@ class acp_profile
$cp->vars['lang_explain'] = request_var('lang_explain', $field_row['lang_explain'], true);
$cp->vars['lang_default_value'] = request_var('lang_default_value', $field_row['lang_default_value'], true);
if (strlen($cp->vars['field_ident']) > 17)
{
$error[] = $user->lang['INVALID_FIELD_IDENT_LEN'];
}
// Field option...
if (isset($_REQUEST['field_option']))
{

View File

@ -586,7 +586,7 @@ if (!function_exists('realpath'))
// @todo If the file exists fine and open_basedir only has one path we should be able to prepend it
// because we must be inside that basedir, the question is where...
// @interal The slash in is_dir() gets around an open_basedir restriction
// @internal The slash in is_dir() gets around an open_basedir restriction
if (!@file_exists($resolved) || (!is_dir($resolved . '/') && !is_file($resolved)))
{
return false;

View File

@ -92,6 +92,7 @@ $lang = array_merge($lang, array(
'HIDE_PROFILE_FIELD_EXPLAIN' => 'Only Administrators and Moderators are able to see/fill out this profile field. If this option is enabled, the profile field will be only displayed in user profiles.',
'INVALID_CHARS_FIELD_IDENT' => 'Field identification can only contain lowercase a-z and _',
'INVALID_FIELD_IDENT_LEN' => 'Field identification can only be 17 characters long',
'ISO_LANGUAGE' => 'Language [%s]',
'LANG_SPECIFIC_OPTIONS' => 'Language specific options [<strong>%s</strong>]',