Changeset 26401 for trunk/upgrade.php
- Timestamp:
- Jan 2, 2014, 4:04:16 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/upgrade.php
r25018 r26401 336 336 $current_release = '2.3.0'; 337 337 } 338 else if (!in_array('website_url', $columns_of[PREFIX_TABLE.'comments'])) 339 { 340 $current_release = '2.4.0'; 341 } 338 342 else 339 343 { … … 345 349 $applied_upgrades = array_from_query($query, 'id'); 346 350 347 if (!in_array(13 4, $applied_upgrades))348 { 349 $current_release = '2. 4.0';351 if (!in_array(139, $applied_upgrades)) 352 { 353 $current_release = '2.5.0'; 350 354 } 351 355 else … … 353 357 // confirm that the database is in the same version as source code files 354 358 conf_update_param('piwigo_db_version', get_branch_from_version(PHPWG_VERSION)); 355 359 360 header('Content-Type: text/html; charset='.get_pwg_charset()); 356 361 echo 'No upgrade required, the database structure is up to date'; 357 362 echo '<br><a href="index.php">← back to gallery</a>';
Note: See TracChangeset
for help on using the changeset viewer.