mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-12 15:48:34 +02:00
git-svn-id: http://svn.automattic.com/wordpress/trunk@4985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
25 lines
816 B
PHP
Executable File
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';
|
|
?>
|