1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00

Introduced pagestart.inc

git-svn-id: file:///svn/phpbb/trunk@798 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Bart van Bragt
2001-08-02 22:33:20 +00:00
parent c9c11d3a71
commit 2aaadc7b07
12 changed files with 224 additions and 354 deletions

View File

@@ -153,7 +153,7 @@ elseif( $HTTP_GET_VARS['pane'] == 'right' )
$avatar_dir_size = 0;
if ($avatar_dir = opendir($phpbb_root_path . $board_config['avatar_path']))
if ($avatar_dir = @opendir($phpbb_root_path . $board_config['avatar_path']))
{
while($file = readdir($avatar_dir))
{
@@ -164,6 +164,11 @@ elseif( $HTTP_GET_VARS['pane'] == 'right' )
}
closedir($avatar_dir);
}
else
{
// Couldn't open Avatar dir.
$avatar_dir_size = '?';
}
//
// This bit of code translates the avatar directory size into human readable format
@@ -415,4 +420,4 @@ else
}
?>
?>