config.php 1.02 KB
Newer Older
1
2
3
4
5
6
7
8
<?php
/**
 * config.php
 *
 * @package MCManager.includes
 */
	// General settings
	$config['general.engine'] = 'GoogleSpell';
9
10
11
12
13
14
15
16

	define('INTERNAL', 1);
	require_once(dirname(__FILE__).'/../../../../init.php');
	$aspellpath = get_config('pathtoaspell');
	if (file_exists($aspellpath) && is_executable($aspellpath)) {
		$config['general.engine'] = 'PSpellShell';
	}

17
18
19
20
21
22
23
24
25
26
27
28
	//$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;
29
	$config['PSpellShell.aspell'] = $aspellpath;
30
31
32
33
34
35
	$config['PSpellShell.tmp'] = '/tmp';

	// Windows PSpellShell settings
	//$config['PSpellShell.aspell'] = '"c:\Program Files\Aspell\bin\aspell.exe"';
	//$config['PSpellShell.tmp'] = 'c:/temp';
?>