Skip to content

Commit

Permalink
Fix display of upgrade_warning.php
Browse files Browse the repository at this point in the history
- use the correct html header
- encode '<' and '>' chars
  • Loading branch information
rombert committed Sep 23, 2011
1 parent 95216ca commit cbbe1dd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions admin/upgrade_warning.php
Expand Up @@ -33,9 +33,8 @@

$f_advanced = gpc_get_bool( 'advanced', false );

html_begin();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>MantisBT Administration - Check Installation </title>
<link rel="stylesheet" type="text/css" href="admin.css" />
Expand All @@ -56,10 +55,10 @@

<p><strong>WARNING:</strong> - Always backup your database data before upgrading. For example, if you use a mysql database, From the command line you can do this with the mysqldump command.</p>
<p>eg:</p>
<p><tt>mysqldump -u[username] -p[password] [database_name] > [filename]</tt></p>
<p><tt>mysqldump -u[username] -p[password] [database_name] &gt; [filename]</tt></p>
<p>This will dump the contents of the specified database into the specified filename.</p>
<p>If an error occurs you can re-create your previous database by just importing your backed up database data. You'll need to drop and recreate your database (or remove each table).</p>
<p><tt>mysql -u[username] -p[password] [database_name] < [filename]</tt></p>
<p><tt>mysql -u[username] -p[password] [database_name] &lt; [filename]</tt></p>

<p>Upgrades may take several minutes depending on the size of your database.</p>

Expand Down

0 comments on commit cbbe1dd

Please sign in to comment.