Revision 1641
Added by Luisehahne over 13 years ago
| upgrade-script.php | ||
|---|---|---|
| 56 | 56 |
'[TEMPLATE]/round/', |
| 57 | 57 |
'[TEMPLATE]/simple/', |
| 58 | 58 |
*/ |
| 59 |
'[ADMIN]/themes/', |
|
| 59 | 60 |
); |
| 60 | 61 |
|
| 61 | 62 |
$filesRemove['0'] = array( |
| ... | ... | |
| 99 | 100 |
'[TEMPLATE]/argos_theme/templates/users.htt', |
| 100 | 101 |
'[TEMPLATE]/argos_theme/templates/users_form.htt', |
| 101 | 102 |
|
| 102 |
/* |
|
| 103 | 103 |
'[TEMPLATE]/wb_theme/templates/access.htt', |
| 104 | 104 |
'[TEMPLATE]/wb_theme/templates/addons.htt', |
| 105 | 105 |
'[TEMPLATE]/wb_theme/templates/admintools.htt', |
| ... | ... | |
| 109 | 109 |
'[TEMPLATE]/wb_theme/templates/languages.htt', |
| 110 | 110 |
'[TEMPLATE]/wb_theme/templates/languages_details.htt', |
| 111 | 111 |
|
| 112 |
/* |
|
| 112 | 113 |
'[TEMPLATE]/wb_theme/templates/login.htt', |
| 113 | 114 |
'[TEMPLATE]/wb_theme/templates/login_forgot.htt', |
| 115 |
*/ |
|
| 114 | 116 |
|
| 115 | 117 |
'[TEMPLATE]/wb_theme/templates/media.htt', |
| 116 | 118 |
'[TEMPLATE]/wb_theme/templates/media_browse.htt', |
| ... | ... | |
| 130 | 132 |
'[TEMPLATE]/wb_theme/templates/templates_details.htt', |
| 131 | 133 |
'[TEMPLATE]/wb_theme/templates/users.htt', |
| 132 | 134 |
'[TEMPLATE]/wb_theme/templates/users_form.htt', |
| 133 |
*/ |
|
| 134 | 135 |
); |
| 135 | 136 |
|
| 136 | 137 |
// analyze/check database tables |
| ... | ... | |
| 597 | 598 |
$dir = WB_PATH.'/'.$dir; |
| 598 | 599 |
if( is_dir( $dir )) {
|
| 599 | 600 |
// try to delete dir |
| 600 |
if(!rm_full_dir($dir)) {
|
|
| 601 |
if(!is_writable( $dir ) || !rm_full_dir($dir)) {
|
|
| 601 | 602 |
// save in err-list, if failed |
| 602 |
$msg .= $dir.'<br />';
|
|
| 603 |
$msg .= str_replace(WB_PATH,'',$dir).'<br />';
|
|
| 603 | 604 |
} |
| 604 | 605 |
} |
| 605 | 606 |
} |
| 606 | 607 |
if($msg != '') {
|
| 607 |
$msg = '<br /><br />Following files are deprecated, outdated or a security risk and
|
|
| 608 |
$msg = '<br /><br />Following directories are deprecated, outdated or a security risk and
|
|
| 608 | 609 |
can not be removed automatically.<br /><br />Please delete them |
| 609 | 610 |
using FTP and restart upgrade-script!<br /><br />'.$msg.'<br />'; |
| 610 | 611 |
status_msg($msg, 'error warning', 'div'); |
Also available in: Unified diff
+ move admin/themes/templates/ to admin/skel/themes/htt/
! and update class.wb.php, upgrade-script.php