芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/cepali/lib/editor/tinymce/plugins/spellchecker/db/upgradelib.php
. /** * Spellchecker upgrade script. * * @package tinymce_spellchecker * @copyright 2012 Petr Skoda {@link http://skodak.org} * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); /** * Migrate spell related settings from tinymce. */ function tinymce_spellchecker_migrate_settings() { $engine = get_config('editor_tinymce', 'spellengine'); if ($engine !== false) { set_config('spellengine', $engine, 'tinymce_spellchecker'); unset_config('spellengine', 'editor_tinymce'); } $list = get_config('editor_tinymce', 'spelllanguagelist'); if ($list !== false) { set_config('spelllanguagelist', $list, 'tinymce_spellchecker'); unset_config('spelllanguagelist', 'editor_tinymce'); } }