Changeset 1998
- Timestamp:
- May 4, 2007, 11:54:23 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_7/upgrade.php
r1944 r1998 155 155 // +-----------------------------------------------------------------------+ 156 156 157 $tables = get_tables(); 158 $columns_of = get_columns_of($tables); 159 157 160 if (!isset($_GET['version'])) 158 161 { 159 162 // find the current release 160 $tables = get_tables();161 $columns_of = get_columns_of($tables);162 163 163 if (!in_array('param', $columns_of[PREFIX_TABLE.'config'])) 164 164 { … … 213 213 else 214 214 { 215 if (in_array(PREFIX_TABLE.'history_summary', $tables)) 216 { 217 die('No database upgrade required, do not refresh the page'); 218 } 219 215 220 $upgrade_file = PHPWG_ROOT_PATH.'install/upgrade_'.$_GET['version'].'.php'; 216 221 if (is_file($upgrade_file))
Note: See TracChangeset
for help on using the changeset viewer.