Project

General

Profile

« Previous | Next » 

Revision 725

Added by doc about 16 years ago

suppressed warnings in initialize.php if constant already defined; modified upgrade script to make FCK the new default editor

View differences:

trunk/CHANGELOG
12 12

  
13 13
------------------------------------- 2.7.0 -------------------------------------
14 14
23-Feb-2008 Christian Sommer
15
!	suppressed warnings in initialize.php if constant already defined; modified upgrade script to make FCK the new default editor
15 16
#	fixed bug in upgrade script (WBMailer setting)
16 17
22-Feb-2008 Christian Sommer
17 18
#	some layout changes on the upgrade-script, fixed error in precheck
......
45 46
#	fixed an highlighting-issue: highlighting a page with more than one sections mangled umlauts in the second to last section.
46 47
10-Feb-2008 Matthias Gallas
47 48
#	fixed some errors in standard german language file
48
+	added new colloquially german language file (thanks to Michael Tenschert)
49
+	added new colloquially german language file
49 50
10-Feb-2008 Thomas Hornik
50 51
#	CAPTCHA: Wrong text for calc_ttf-captcha. 
51 52
10-Feb-2008 Christian Sommer
trunk/wb/upgrade-script.php
766 766
}
767 767

  
768 768
/**********************************************************
769
 *  - Alter the WYSIWYG editor content from text to longtext
769
 *  - Alter the WYSIWYG editor (longtext, default FCK)
770 770
 */
771
echo "<br /><u>Alter WYSIWYG editor content field from text to longtext</u><br />Status: ";
771
echo "<br /><u>Alter WYSIWYG editor settings</u><br />Alter field content from text to longtext: ";
772 772
echo ($database->query("ALTER TABLE ".TABLE_PREFIX."mod_wysiwyg MODIFY content LONGTEXT NOT NULL")) ?" $OK<br />" : " $FAIL<br />";
773
if(file_exists(WB_PATH .'/modules/fckeditor/include.php')) {
774
	echo "Make FCKEditor the new default editor: ";
775
	echo ($database->query("UPDATE ".TABLE_PREFIX."settings SET value='fckeditor' WHERE name='wysiwyg_editor'")) ?" $OK<br />" : " $FAIL<br />";
776
}
773 777

  
774 778
/**********************************************************
775 779
 *  - Add Admintools to Administrator group
trunk/wb/framework/initialize.php
44 44
			$setting_value=false;
45 45
		if ($setting_value=='true')
46 46
			$setting_value=true;
47
		define($setting_name,$setting_value);
47
		@define($setting_name,$setting_value);
48 48
	}
49 49
	$string_file_mode = STRING_FILE_MODE;
50 50
	define('OCTAL_FILE_MODE',(int) octdec($string_file_mode));

Also available in: Unified diff