<link rel="stylesheet" type="text/css" href="admin.css" /> </head> <body> <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff"> <tr class="top-bar"> <td class="links"> [ <a href="upgrade_list.php">Back to Upgrade List</a> ] [ <a href="upgrade_escaping.php">Refresh view</a> ] </td> <td class="title"> String Escaping Database Fixes </td> </tr> </table> <br /><br /> <?php if (!db_table_exists(config_get('mantis_upgrade_table'))) { # Create the upgrade table if it does not exist $query = "CREATE TABLE " . config_get('mantis_upgrade_table') . "(upgrade_id char(20) NOT NULL,\n\t\t\t\t description char(255) NOT NULL,\n\t\t\t\t PRIMARY KEY (upgrade_id))"; $result = db_query($query); } # link the data structures and upgrade list require_once 'upgrade_inc.php'; # drop the database upgrades and load the escaping ones $upgrade_set = new UpgradeSet(); $upgrade_set->add_items(include 'upgrades/0_17_escaping_fixes_inc.php'); $upgrade_set->process_post_data(); ?> </body> </html>
$upgrade_set->add_items(include 'upgrades/0_18_inc.php'); $upgrade_set->add_items(include 'upgrades/0_19_inc.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title> Mantis Administration - Database Upgrade </title> <link rel="stylesheet" type="text/css" href="admin.css" /> </head> <body> <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff"> <tr class="top-bar"> <td class="links"> [ <a href="upgrade_list.php">Back to Upgrade List</a> ] [ <a href="upgrade_advanced.php">Refresh view</a> ] [ <a href="upgrade.php">Simple</a> ] </td> <td class="title"> Upgrade Installation </td> </tr> </table> <br /><br /> <?php $upgrade_set->process_post_data(true); ?> </body> </html>