Changeset 25018 for trunk/upgrade.php
- Timestamp:
- Oct 19, 2013, 7:43:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/upgrade.php
r25005 r25018 74 74 if (preg_match('/^'.PREFIX_TABLE.'/', $row[0])) 75 75 { 76 array_push($tables, $row[0]);76 $tables[] = $row[0]; 77 77 } 78 78 } … … 101 101 while ($row = pwg_db_fetch_row($result)) 102 102 { 103 array_push($columns_of[$table], $row[0]);103 $columns_of[$table][] = $row[0]; 104 104 } 105 105 } … … 390 390 if (!@file_put_contents($config_file, $config_file_contents)) 391 391 { 392 array_push( 393 $page['infos'], 394 sprintf( 395 l10n('In <i>%s</i>, before <b>?></b>, insert:'), 396 PWG_LOCAL_DIR.'config/database.inc.php' 397 ) 398 .'<p><textarea rows="4" cols="40">' 399 .implode("\r\n" , $mysql_changes).'</textarea></p>' 400 ); 392 $page['infos'][] = l10n( 393 'In <i>%s</i>, before <b>?></b>, insert:', 394 PWG_LOCAL_DIR.'config/database.inc.php' 395 ) 396 .'<p><textarea rows="4" cols="40">' 397 .implode("\r\n" , $mysql_changes).'</textarea></p>'; 401 398 } 402 399 } … … 431 428 ); 432 429 433 array_push($page['infos'], 434 l10n('Perform a maintenance check in [Administration>Tools>Maintenance] if you encounter any problem.') 435 ); 430 $page['infos'][] = l10n('Perform a maintenance check in [Administration>Tools>Maintenance] if you encounter any problem.'); 436 431 437 432 // Save $page['infos'] in order to restore after maintenance actions
Note: See TracChangeset
for help on using the changeset viewer.