diff options
| author | the_systech <the_systech@users.sourceforge.net> | 2002-03-01 17:40:21 +0000 |
|---|---|---|
| committer | the_systech <the_systech@users.sourceforge.net> | 2002-03-01 17:40:21 +0000 |
| commit | ab516ec67d160c992f9c3a6a6a9f804cc93c99cb (patch) | |
| tree | 86c53ed32d5531784cd9204878c8e34fe133d00e /phpBB/admin/admin_board.php | |
| parent | fbdb08846ea33d26e220b4365f11d26a851730bd (diff) | |
| download | forums-ab516ec67d160c992f9c3a6a6a9f804cc93c99cb.tar forums-ab516ec67d160c992f9c3a6a6a9f804cc93c99cb.tar.gz forums-ab516ec67d160c992f9c3a6a6a9f804cc93c99cb.tar.bz2 forums-ab516ec67d160c992f9c3a6a6a9f804cc93c99cb.tar.xz forums-ab516ec67d160c992f9c3a6a6a9f804cc93c99cb.zip | |
Workarounds for file_uploads disabled...
git-svn-id: file:///svn/phpbb/trunk@2241 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/admin/admin_board.php')
| -rw-r--r-- | phpBB/admin/admin_board.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/phpBB/admin/admin_board.php b/phpBB/admin/admin_board.php index b858968fb4..2c55f5fc2c 100644 --- a/phpBB/admin/admin_board.php +++ b/phpBB/admin/admin_board.php @@ -123,6 +123,15 @@ $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 // |
