summaryrefslogtreecommitdiff
path: root/program/js/tiny_mce/plugins/spellchecker/config.php
blob: 6622248c0a5d53ca9f1f1d7ff6397d0012130fbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?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;

	// Default settings
	$spellCheckerConfig['default.language'] = 'en';
	$spellCheckerConfig['default.mode'] = PSPELL_FAST;

	// Normaly not required to configure
	$spellCheckerConfig['default.spelling'] = "";
	$spellCheckerConfig['default.jargon'] = "";
	$spellCheckerConfig['default.encoding'] = "";

	// Pspell shell specific settings
	$spellCheckerConfig['tinypspellshell.aspell'] = '/usr/bin/aspell';
	$spellCheckerConfig['tinypspellshell.tmp'] = '/tmp';
	
	$spellCheckerConfig['googlespell.url'] = 'https://www.google.com/tbproxy/spell?hl=en'
?>