]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/js/tinymce/plugins/spellchecker/config.php
Wordpress 2.5.1
[autoinstalls/wordpress.git] / wp-includes / js / tinymce / plugins / spellchecker / config.php
old mode 100755 (executable)
new mode 100644 (file)
index 097d46b..a518570
@@ -1,24 +1,21 @@
 <?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;
+       $config['general.engine'] = 'GoogleSpell';
+       //$config['general.engine'] = 'PSpell';
+       //$config['general.engine'] = 'PSpellShell';
 
-       // Default settings
-       $spellCheckerConfig['default.language'] = 'en';
-       $spellCheckerConfig['default.mode'] = PSPELL_FAST;
+       // PSpell settings
+       $config['PSpell.mode'] = PSPELL_FAST;
+       $config['PSpell.spelling'] = "";
+       $config['PSpell.jargon'] = "";
+       $config['PSpell.encoding'] = "";
 
-       // Normaly not required to configure
-       $spellCheckerConfig['default.spelling'] = "";
-       $spellCheckerConfig['default.jargon'] = "";
-       $spellCheckerConfig['default.encoding'] = "";
+       // PSpellShell settings
+       $config['PSpellShell.mode'] = PSPELL_FAST;
+       $config['PSpellShell.aspell'] = '/usr/bin/aspell';
+       $config['PSpellShell.tmp'] = '/tmp';
 
-       // Pspell shell specific settings
-       $spellCheckerConfig['tinypspellshell.aspell'] = '/usr/bin/aspell';
-       $spellCheckerConfig['tinypspellshell.tmp'] = '/tmp';
+       // Windows PSpellShell settings
+       //$config['PSpellShell.aspell'] = '"c:\Program Files\Aspell\bin\aspell.exe"';
+       //$config['PSpellShell.tmp'] = 'c:/temp';
 ?>