2.0.22 admin/admin_board.php
Verfasst: 24.12.2006 10:41
Hallo ich habe ein problem ich verstehe nicht diese Text kann mir einer sagen wie ich das zu machen habe.
Ach ja dieses ist von dem read.text für das Update von 2.0.21 auf 2.0.22
Ach ja dieses ist von dem read.text für das Update von 2.0.21 auf 2.0.22
Code: Alles auswählen
#-----[ OPEN ]---------------------------------------------
#
admin/admin_board.php
#
#-----[ FIND ]---------------------------------------------
# Line 55
// Attempt to prevent a common mistake with this value,
// http:// is the protocol and not part of the server name
if ($config_name == 'server_name')
{
$new['server_name'] = str_replace('http://', '', $new['server_name']);
}
#
#-----[ AFTER, ADD ]---------------------------------------------
#
// Attempt to prevent a mistake with this value.
if ($config_name == 'avatar_path')
{
$new['avatar_path'] = trim($new['avatar_path']);
if (strstr($new['avatar_path'], "\0") || !is_dir($phpbb_root_path . $new['avatar_path']) || !is_writable($phpbb_root_path . $new['avatar_path']))
{
$new['avatar_path'] = $default_config['avatar_path'];
}
}