';
@umask(0111);
// writing the configuration file
if ( !($fp = @fopen( $config_file, 'w' )))
{
$html_content = htmlentities( $file_content, ENT_QUOTES, 'utf-8' );
$html_content = nl2br( $html_content );
$error_copy = l10n('step1_err_copy');
$error_copy .= '
--------------------------------------------------------------------
';
$error_copy .= '' . $html_content . '';
$error_copy .= '
--------------------------------------------------------------------
';
}
@fputs($fp, $file_content, strlen($file_content));
@fclose($fp);
if (isset($error_copy))
{
array_push($page['errors'], $error_copy);
}
echo
"\n"
. $upgrade_description
."\n"
;
?>