Changeset 26401
- Timestamp:
- Jan 2, 2014, 4:04:16 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/themes/default/template/upgrade.tpl
r25005 r26401 40 40 #content { 41 41 min-height:0; 42 border:none; 42 43 } 43 44 -
trunk/install/upgrade_2.4.0.php
r21103 r26401 122 122 123 123 // now we upgrade from 2.5.0 124 //include_once(PHPWG_ROOT_PATH.'install/upgrade_2.5.0.php');124 include_once(PHPWG_ROOT_PATH.'install/upgrade_2.5.0.php'); 125 125 ?> -
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.