Project

General

Profile

« Previous | Next » 

Revision 1769

Added by Dietmar about 12 years ago

  1. typofix in upgrade-script, fixed wrong count for language and modules folder
    2

View differences:

branches/2.8.x/CHANGELOG
13 13

  
14 14

  
15 15

  
16
23 Sep-2012 Build 1769 Dietmar Woellbrink (Luisehahne)
17
# typofix in upgrade-script, fixed wrong count for language and modules folder
16 18
23 Sep-2012 Build 1768 Dietmar Woellbrink (Luisehahne)
17 19
+ add 2 fields custom01, custom02 with VARCHAR( 255 ) to table pages
18 20
! update upgrade-script with this 2 fields
branches/2.8.x/wb/upgrade-script.php
576 576
	    echo ($database->query($sql)) ? " $OK<br />" : " $FAIL!<br />";
577 577
	}
578 578

  
579
    echo "<h4>Adding/updating fiekds on table mod_menu_link</h4>";
579
    echo "<h4>Adding/updating field on table mod_menu_link</h4>";
580 580
	/**********************************************************
581 581
     *  - Add field "redirect_type" to table "mod_menu_link"
582 582
     *  has to be moved later to upgrade.php in modul menu_link, because modul can be removed
......
592 592
		echo ($database->field_modify($table_name, $field_name, $description) ? " $OK<br />" : " $FAIL!<br />");
593 593
	}
594 594

  
595
    echo "<h4>Adding/updating fiekds on table pages</h4>";
595
    echo "<h4>Adding/updating field on table pages</h4>";
596 596
	/**********************************************************
597 597
	 *  - Add field "page_trail" to table "pages"
598 598
	 */
......
959 959
	// Load all modules
960 960
	if( ($handle = opendir(WB_PATH.'/modules/')) ) {
961 961
		while(false !== ($file = readdir($handle))) {
962
			if($file != '' AND substr($file, 0, 1) != '.' AND $file != 'admin.php' AND $file != 'index.php') {
962
			if($file != '' && substr($file, 0, 1) != '.' && is_dir(WB_PATH.'/modules/'.$file) ) {
963 963
                $iFound++;
964 964
				$iLoaded = load_module(WB_PATH.'/modules/'.$file ) ? $iLoaded+1 : $iLoaded;
965 965
			   // 	upgrade_module($file, true);
......
977 977
	if( ($handle = opendir(WB_PATH.'/templates/')) ) {
978 978
		while(false !== ($file = readdir($handle))) {
979 979
			if($file != '' AND substr($file, 0, 1) != '.' AND $file != 'index.php') {
980

  
980 981
                $iFound++;
981 982
				$iLoaded = (load_template(WB_PATH.'/templates/'.$file)==true) ? $iLoaded+1 : $iLoaded;
983

  
982 984
			}
983 985
		}
984 986
		closedir($handle);
......
992 994
	// Load all languages
993 995
	if( ($handle = opendir(WB_PATH.'/languages/')) ) {
994 996
		while(false !== ($file = readdir($handle))) {
995
			if($file != '' AND substr($file, 0, 1) != '.' AND $file != 'index.php') {
997
			if($file != '' AND (preg_match('#^([A-Z]{2}.php)#', basename($file)))) {
996 998
                $iFound++;
997 999
				$iLoaded = load_language(WB_PATH.'/languages/'.$file) ? $iLoaded+1 : $iLoaded;
998 1000
			}
branches/2.8.x/wb/admin/interface/version.php
51 51

  
52 52
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
53 53
if(!defined('VERSION')) define('VERSION', '2.8.3');
54
if(!defined('REVISION')) define('REVISION', '1768');
54
if(!defined('REVISION')) define('REVISION', '1769');
55 55
if(!defined('SP')) define('SP', '');

Also available in: Unified diff