Skip to content

Commit cbbe1dd

Browse files
committedSep 23, 2011
Fix display of upgrade_warning.php
- use the correct html header - encode '<' and '>' chars
1 parent 95216ca commit cbbe1dd

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed
 

‎admin/upgrade_warning.php

+3-4
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@
3333

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

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

5756
<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>
5857
<p>eg:</p>
59-
<p><tt>mysqldump -u[username] -p[password] [database_name] > [filename]</tt></p>
58+
<p><tt>mysqldump -u[username] -p[password] [database_name] &gt; [filename]</tt></p>
6059
<p>This will dump the contents of the specified database into the specified filename.</p>
6160
<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>
62-
<p><tt>mysql -u[username] -p[password] [database_name] < [filename]</tt></p>
61+
<p><tt>mysql -u[username] -p[password] [database_name] &lt; [filename]</tt></p>
6362

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

0 commit comments

Comments
 (0)
Please sign in to comment.