Ok, now it works

git-svn-id: file:///svn/phpbb/trunk@738 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
James Atkinson 2001-07-23 19:29:08 +00:00
parent 1c40aef060
commit d082bed3d8

View file

@ -81,10 +81,10 @@ if ($avatar_dir = opendir($phpbb_root_path . $board_config['avatar_path']))
{ {
if($file != "." && $file != "..") if($file != "." && $file != "..")
{ {
$avatar_dir_size += filesize($file); $avatar_dir_size += filesize($phpbb_root_path . $board_config['avatar_path'] . "/" . $file);
} }
} }
closedir($openDir); closedir($avatar_dir);
} }
if($avatar_dir_size > 0) if($avatar_dir_size > 0)
{ {