mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +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:
@@ -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']))
|
||||
{
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user