Project

General

Profile

« Previous | Next » 

Revision 727

Added by thorn over 16 years ago

issue with menulink in upgrade-script. Fixed.

View differences:

upgrade-script.php
489 489
	}
490 490
	// check if we need to create a subdir somewhere
491 491
	$dirs = array();
492
	while(dirname($link) != '/' && dirname($link) != '.') {
492
	while(dirname($link) != '/' && dirname($link) != '.' && dirname($link) != '\\') {
493 493
		$link = dirname($link);
494 494
		$dirs[] = WB_PATH.PAGES_DIRECTORY.$link;
495 495
	}
......
510 510
	
511 511
}
512 512

  
513
// some code missing to regenerate page_title from link/filename
514
// for_all_pages: if filename($page_title) != basename($link) {
515
//   rename $page_title to basename($link)
516
// }
517
// This must be done after menu_link-upgrade
518
// 
519
// Should we really do this? - must be checked
520

  
521

  
522 513
/**********************************************************
523 514
 *  - asp - Advanced Spam Protection
524 515
 */

Also available in: Unified diff