- Timestamp:
- 01/17/2008 03:44:05 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/tinymce/plugins/spellchecker/config.php
r6360 r6632 1 1 <?php 2 $spellCheckerConfig = array(); 2 // General settings 3 $config['general.engine'] = 'GoogleSpell'; 4 //$config['general.engine'] = 'PSpell'; 5 //$config['general.engine'] = 'PSpellShell'; 3 6 4 // Spellchecker class use 5 // require_once("classes/TinyPspellShell.class.php"); // Command line pspell 6 require_once("classes/TinyGoogleSpell.class.php"); // Google web service 7 // require_once("classes/TinyPspell.class.php"); // Internal PHP version 7 // PSpell settings 8 $config['PSpell.mode'] = PSPELL_FAST; 9 $config['PSpell.spelling'] = ""; 10 $config['PSpell.jargon'] = ""; 11 $config['PSpell.encoding'] = ""; 8 12 9 // General settings 10 $spellCheckerConfig['enabled'] = true; 13 // PSpellShell settings 14 $config['PSpellShell.mode'] = PSPELL_FAST; 15 $config['PSpellShell.aspell'] = '/usr/bin/aspell'; 16 $config['PSpellShell.tmp'] = '/tmp'; 11 17 12 // Default settings 13 $spellCheckerConfig['default.language'] = 'en'; 14 $spellCheckerConfig['default.mode'] = PSPELL_FAST; 15 16 // Normaly not required to configure 17 $spellCheckerConfig['default.spelling'] = ""; 18 $spellCheckerConfig['default.jargon'] = ""; 19 $spellCheckerConfig['default.encoding'] = ""; 20 21 // Pspell shell specific settings 22 $spellCheckerConfig['tinypspellshell.aspell'] = '/usr/bin/aspell'; 23 $spellCheckerConfig['tinypspellshell.tmp'] = '/tmp'; 18 // Windows PSpellShell settings 19 //$config['PSpellShell.aspell'] = '"c:\Program Files\Aspell\bin\aspell.exe"'; 20 //$config['PSpellShell.tmp'] = 'c:/temp'; 24 21 ?>
Note: See TracChangeset
for help on using the changeset viewer.