Revision 1593
Added by Luisehahne over 13 years ago
| upgrade-script.php | ||
|---|---|---|
| 501 | 501 | print '<br /><strong>Upgrade '.MEDIA_DIRECTORY.'/ protect files</strong>'." $FAIL!<br />"; | 
| 502 | 502 | 		print implode ('<br />',$array);
 | 
| 503 | 503 | } | 
| 504 | /********************************************************** | |
| 505 | * upgrade posts folder index protect files | |
| 506 | */ | |
| 507 | $sPostsPath = WB_PATH.PAGES_DIRECTORY.'/posts'; | |
| 508 | echo '<h4>Upgrade /posts/ index.php protect files</h4><br />'; | |
| 509 | $array = rebuildFolderProtectFile($sPostsPath); | |
| 510 | 	if( sizeof( $array ) ){
 | |
| 511 | print '<br /><strong>Upgrade '.sizeof( $array ).' /posts/ protect files</strong>'." $OK<br />"; | |
| 512 | 	} else {
 | |
| 513 | print '<br /><strong>Upgrade /posts/ protect files</strong>'." $FAIL!<br />"; | |
| 514 | 		print implode ('<br />',$array);
 | |
| 515 | } | |
| 504 | 516 | /* ***************************************************************************** | 
| 505 | 517 | * - check for deprecated / never needed files | 
| 506 | 518 | */ | 
Also available in: Unified diff
rebuild protectfile in pages/posts