Revision 1533
Added by Dietmar almost 13 years ago
upgrade-script.php | ||
---|---|---|
373 | 373 |
$drops = (!in_array ( "mod_droplets", $all_tables)) ? "<br />Install droplets<br />" : "<br />Upgrade droplets<br />"; |
374 | 374 |
echo $drops; |
375 | 375 |
|
376 |
$file_name = (!in_array ( "mod_droplets", $all_tables)) ? "install.php" : "upgrade.php";
|
|
376 |
$file_name = (!in_array ( "mod_droplets", $all_tables) ? "install.php" : "upgrade.php");
|
|
377 | 377 |
require_once (WB_PATH."/modules/droplets/".$file_name); |
378 | 378 |
|
379 | 379 |
// check again all tables, to get a new array |
... | ... | |
641 | 641 |
'[ADMIN]', |
642 | 642 |
'[MEDIA]', |
643 | 643 |
'[PAGES]', |
644 |
'[FRAMEWORK]', |
|
645 |
'[MODULES]', |
|
644 | 646 |
'[TEMPLATE]' |
645 | 647 |
); |
646 | 648 |
$replacements = array( |
647 | 649 |
substr(ADMIN_PATH, strlen(WB_PATH)+1), |
648 | 650 |
MEDIA_DIRECTORY, |
649 | 651 |
PAGES_DIRECTORY, |
650 |
'/templates', |
|
652 |
'/framework', |
|
653 |
'/modules', |
|
654 |
'/templates' |
|
651 | 655 |
); |
652 | 656 |
|
653 | 657 |
foreach( $filesRemove as $filesId ) |
... | ... | |
781 | 785 |
} |
782 | 786 |
echo '<br />Languages reloaded<br />'; |
783 | 787 |
|
784 |
|
|
785 | 788 |
/********************************************************** |
786 | 789 |
* - End of upgrade script |
787 | 790 |
*/ |
Also available in: Unified diff
new backend theme handling (Tks to Stefek)
some fixes in install