includes/clientside/tinymce/plugins/spellchecker/config.php
changeset 784 72df14a56a03
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/includes/clientside/tinymce/plugins/spellchecker/config.php	Sun Dec 21 17:56:32 2008 -0500
@@ -0,0 +1,31 @@
+<?php
+	// General settings
+  // Enano modification 2008-12-21: If PSpell is available, use that; otherwise try
+  // to use GoogleSpell
+  if ( function_exists('pspell_suggest') )
+  {
+    $config['general.engine'] = 'PSpell';
+  }
+  else
+  {
+    $config['general.engine'] = 'GoogleSpell';
+  }
+	//$config['general.engine'] = 'PSpell';
+	//$config['general.engine'] = 'PSpellShell';
+	//$config['general.remote_rpc_url'] = 'http://some.other.site/some/url/rpc.php';
+
+	// PSpell settings
+	$config['PSpell.mode'] = PSPELL_FAST;
+	$config['PSpell.spelling'] = "";
+	$config['PSpell.jargon'] = "";
+	$config['PSpell.encoding'] = "";
+
+	// PSpellShell settings
+	$config['PSpellShell.mode'] = PSPELL_FAST;
+	$config['PSpellShell.aspell'] = '/usr/bin/aspell';
+	$config['PSpellShell.tmp'] = '/tmp';
+
+	// Windows PSpellShell settings
+	//$config['PSpellShell.aspell'] = '"c:\Program Files\Aspell\bin\aspell.exe"';
+	//$config['PSpellShell.tmp'] = 'c:/temp';
+?>