[ Index ]
 

Code source de WordPress 2.1.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/wp-includes/js/tinymce/plugins/spellchecker/ -> config.php (source)

   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/tinyspell/0';
  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  ?>


Généré le : Fri Mar 30 19:41:27 2007 par Balluche grâce à PHPXref 0.7