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:
@@ -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
|
||||
|
Reference in New Issue
Block a user