Cleanups of warnings.

This commit is contained in:
skeeter 2001-09-03 09:51:27 +00:00
parent a1d8939e82
commit 370818fa8e
2 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@
</tr>
<?php $selected = array(); ?>
<?php $selected[$current_config['ftp_use_mime']] = " selected"; ?>
<?php $selected[@$current_config['ftp_use_mime']] = " selected"; ?>
<tr bgcolor="e6e6e6">
<td>Attempt to use correct mimetype for FTP instead of default 'application/octet-stream'.</td>
<td>

View File

@ -421,7 +421,7 @@
*/
function process_upgrade($setup_info,$DEBUG=False)
{
if (!$this->oProc)
if (!@$this->oProc)
{
$this->init_process();
}
@ -478,7 +478,7 @@
// This should be a break with a status setting, or not at all
//break;
}
if (file_exists($appdir . 'tables_update.inc.php') && !$setup_info[$key]['updateincluded'])
if (file_exists($appdir . 'tables_update.inc.php') && !@$setup_info[$key]['updateincluded'])
{
include ($appdir . 'tables_update.inc.php');
$setup_info[$key]['updateincluded'] = True;