| 1 | <?php |
| 2 | /** |
| 3 | * sqspell_config.php -- SquirrelSpell Configuration file. |
| 4 | * |
| 5 | * Copyright (c) 1999-2002 The SquirrelMail Project Team |
| 6 | * Licensed under the GNU GPL. For full terms see the file COPYING. |
| 7 | * |
| 8 | * |
| 9 | * |
| 10 | * $Id$ |
| 11 | */ |
| 12 | |
| 13 | require_once(SM_PATH . 'functions/prefs.php'); |
| 14 | |
| 15 | /* Just for poor wretched souls with E_ALL. :) */ |
| 16 | global $data_dir; |
| 17 | |
| 18 | if ( !check_php_version(4,1) ) { |
| 19 | global $_SESSION; |
| 20 | } |
| 21 | |
| 22 | $username = $_SESSION['username']; |
| 23 | |
| 24 | /** |
| 25 | * Example: |
| 26 | * |
| 27 | * $SQSPELL_APP = array( 'English' => 'ispell -a', |
| 28 | * 'Spanish' => 'ispell -d spanish -a' ); |
| 29 | */ |
| 30 | $SQSPELL_APP = array('English' => 'ispell -a', |
| 31 | 'Spanish' => 'ispell -d spanish -a'); |
| 32 | $SQSPELL_APP_DEFAULT = 'English'; |
| 33 | $SQSPELL_WORDS_FILE = |
| 34 | getHashedFile($username, $data_dir, "$username.words"); |
| 35 | |
| 36 | $SQSPELL_EREG = 'ereg'; |
| 37 | #$SQSPELL_SOUP_NAZI = 'Mozilla/3, Mozilla/2, Opera 4, Opera/4, ' |
| 38 | # . 'Macintosh, OmniWeb'; |
| 39 | |
| 40 | ?> |