Revision 725
Added by doc over 16 years ago
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 |
Also available in: Unified diff
suppressed warnings in initialize.php if constant already defined; modified upgrade script to make FCK the new default editor