includes/clientside/tinymce/plugins/spellchecker/config.php
changeset 784 72df14a56a03
equal deleted inserted replaced
783:368a07e59bfe 784:72df14a56a03
       
     1 <?php
       
     2 	// General settings
       
     3   // Enano modification 2008-12-21: If PSpell is available, use that; otherwise try
       
     4   // to use GoogleSpell
       
     5   if ( function_exists('pspell_suggest') )
       
     6   {
       
     7     $config['general.engine'] = 'PSpell';
       
     8   }
       
     9   else
       
    10   {
       
    11     $config['general.engine'] = 'GoogleSpell';
       
    12   }
       
    13 	//$config['general.engine'] = 'PSpell';
       
    14 	//$config['general.engine'] = 'PSpellShell';
       
    15 	//$config['general.remote_rpc_url'] = 'http://some.other.site/some/url/rpc.php';
       
    16 
       
    17 	// PSpell settings
       
    18 	$config['PSpell.mode'] = PSPELL_FAST;
       
    19 	$config['PSpell.spelling'] = "";
       
    20 	$config['PSpell.jargon'] = "";
       
    21 	$config['PSpell.encoding'] = "";
       
    22 
       
    23 	// PSpellShell settings
       
    24 	$config['PSpellShell.mode'] = PSPELL_FAST;
       
    25 	$config['PSpellShell.aspell'] = '/usr/bin/aspell';
       
    26 	$config['PSpellShell.tmp'] = '/tmp';
       
    27 
       
    28 	// Windows PSpellShell settings
       
    29 	//$config['PSpellShell.aspell'] = '"c:\Program Files\Aspell\bin\aspell.exe"';
       
    30 	//$config['PSpellShell.tmp'] = 'c:/temp';
       
    31 ?>