| [ Index ] |
WordPress Source Cross Reference |
[Summary view] [Print] [Text view]
1 <?php 2 $spellCheckerConfig = array(); 3 4 // General settings 5 $spellCheckerConfig['enabled'] = true; 6 7 // Pspell shell specific settings 8 $spellCheckerConfig['tinypspellshell.aspell'] = '/usr/bin/aspell'; 9 $spellCheckerConfig['tinypspellshell.tmp'] = '/tmp'; 10 11 // Default settings 12 $spellCheckerConfig['default.language'] = 'en'; 13 $spellCheckerConfig['default.mode'] = PSPELL_FAST; 14 15 // Normaly not required to configure 16 $spellCheckerConfig['default.spelling'] = ""; 17 $spellCheckerConfig['default.jargon'] = ""; 18 $spellCheckerConfig['default.encoding'] = ""; 19 20 // Spellchecker class use 21 if ( function_exists('pspell_new') ) 22 require_once ("classes/TinyPspell.class.php"); // Internal PHP version 23 24 elseif ( file_exists($spellCheckerConfig['tinypspellshell.aspell']) ) 25 require_once ("classes/TinyPspellShell.class.php"); // Command line pspell 26 27 else 28 require_once ("classes/TinyGoogleSpell.class.php"); // Google web service 29 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Sat Jul 15 11:57:04 2006 | Courtesy of Taragana |