moving functions to separate file, adding configuration files
[squirrelmail.git] / plugins / squirrelspell / sqspell_config.php
... / ...
CommitLineData
1<?php
2/**
3 * sqspell_config.php -- SquirrelSpell Configuration file.
4 *
5 * Copyright (c) 1999-2004 The SquirrelMail Project Team
6 * Licensed under the GNU GPL. For full terms see the file COPYING.
7 *
8 *
9 *
10 * $Id$
11 * @package plugins
12 * @subpackage squirrelspell
13 */
14
15/** */
16require_once(SM_PATH . 'functions/prefs.php');
17
18/* Just for poor wretched souls with E_ALL. :) */
19global $data_dir;
20
21sqgetGlobalVar('username', $username, SQ_SESSION);
22
23/**
24 * Example:
25 *
26 * $SQSPELL_APP = array( 'English' => 'ispell -a',
27 * 'Spanish' => 'ispell -d spanish -a' );
28 */
29$SQSPELL_APP = array('English' => 'ispell -a',
30 'Spanish' => 'ispell -d spanish -a');
31$SQSPELL_APP_DEFAULT = 'English';
32$SQSPELL_WORDS_FILE =
33 getHashedFile($username, $data_dir, "$username.words");
34
35$SQSPELL_EREG = 'ereg';
36
37?>