| [ Index ] |
PHP Cross Reference of MantisBT |
[Summary view] [Print] [Text view]
1 <?php 2 # MantisBT - A PHP based bugtracking system 3 4 # MantisBT is free software: you can redistribute it and/or modify 5 # it under the terms of the GNU General Public License as published by 6 # the Free Software Foundation, either version 2 of the License, or 7 # (at your option) any later version. 8 # 9 # MantisBT is distributed in the hope that it will be useful, 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 # GNU General Public License for more details. 13 # 14 # You should have received a copy of the GNU General Public License 15 # along with MantisBT. If not, see <http://www.gnu.org/licenses/>. 16 17 /** 18 * @package MantisBT 19 * @copyright Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org 20 * @copyright Copyright (C) 2002 - 2011 MantisBT Team - mantisbt-dev@lists.sourceforge.net 21 * @link http://www.mantisbt.org 22 */ 23 /** 24 * MantisBT Core API's 25 */ 26 require_once( dirname( dirname( __FILE__ ) ) . DIRECTORY_SEPARATOR . 'core.php' ); 27 28 access_ensure_global_level( config_get_global( 'admin_site_threshold' ) ); 29 30 $g_error_send_page_header = false; # suppress page headers in the error handler 31 32 # @@@ upgrade list moved to the bottom of upgrade_inc.php 33 34 $f_advanced = gpc_get_bool( 'advanced', false ); 35 36 ?> 37 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 38 <html> 39 <head> 40 <title>MantisBT Administration - Check Installation </title> 41 <link rel="stylesheet" type="text/css" href="admin.css" /> 42 </head> 43 <body> 44 45 <table width="100%" cellspacing="0" cellpadding="0" bgcolor="#ffffff"> 46 <tr class="top-bar"> 47 <td class="links"> 48 [ <a href="index.php">Back to Administration</a> ] 49 </td> 50 <td class="title"> 51 Upgrade Installation 52 </td> 53 </tr> 54 </table> 55 <br /><br /> 56 57 <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> 58 <p>eg:</p> 59 <p><tt>mysqldump -u[username] -p[password] [database_name] > [filename]</tt></p> 60 <p>This will dump the contents of the specified database into the specified filename.</p> 61 <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> 63 64 <p>Upgrades may take several minutes depending on the size of your database.</p> 65 66 <div> 67 <table width="80%" bgcolor="#222222" cellpadding="10" cellspacing="1"> 68 <tr bgcolor="#ffffff"> 69 <?php 70 # check to see if the new installer was used 71 if( -1 != config_get( 'database_version', -1 ) ) { 72 ?> 73 <td class="nowrap"><p>When you have backed up your database click the link below to continue</p>[ <a href="install.php">Upgrade Now</a> ]</td> 74 <?php 75 } 76 else {?> 77 <td class="nowrap"><p>You aware to be running an old (pre 1.1.0) release of MantisBT. To update to this release of mantis, you must first update your installation to 1.1</td> 78 <?php 79 }?> 80 </tr> 81 </table> 82 </div> 83 </body> 84 </html>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu Jul 28 15:48:31 2011 | Cross-referenced by PHPXref 0.7 |