Wordpress/wp-includes/js/tinymce/plugins/spellchecker/config.php
Ryan Boren fa5169f8d3 Update to tinyMCE spellchecker 1.0.3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@4985 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 04:26:26 +00:00

25 lines
816 B
PHP
Executable File

<?php
$spellCheckerConfig = array();
// Spellchecker class use
// require_once("classes/TinyPspellShell.class.php"); // Command line pspell
require_once("classes/TinyGoogleSpell.class.php"); // Google web service
// require_once("classes/TinyPspell.class.php"); // Internal PHP version
// General settings
$spellCheckerConfig['enabled'] = true;
// Default settings
$spellCheckerConfig['default.language'] = 'en';
$spellCheckerConfig['default.mode'] = PSPELL_FAST;
// Normaly not required to configure
$spellCheckerConfig['default.spelling'] = "";
$spellCheckerConfig['default.jargon'] = "";
$spellCheckerConfig['default.encoding'] = "";
// Pspell shell specific settings
$spellCheckerConfig['tinypspellshell.aspell'] = '/usr/bin/aspell';
$spellCheckerConfig['tinypspellshell.tmp'] = '/tmp';
?>