1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

Workarounds for file_uploads disabled...

git-svn-id: file:///svn/phpbb/trunk@2241 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
the_systech
2002-03-01 17:40:21 +00:00
parent fbdb08846e
commit ab516ec67d
8 changed files with 36 additions and 8 deletions

View File

@@ -122,6 +122,15 @@ $smtp_no = ( !$new['smtp_delivery'] ) ? "checked=\"checked\"" : "";
$template->set_filenames(array(
"body" => "admin/board_config_body.tpl")
);
//
// Check to see if file uploads are possible before displaying
// avatar upload option.
//
if( (get_cfg_var('file_uploads') != 0) && (strtolower(get_cfg_var('file_uploads')) != 'off') && (phpversion() != '4.0.4pl1') )
{
$template->assign_block_vars('switch_uploads_possible', array());
}
//
// Escape any quotes in the site description for proper display in the text
// box on the admin page