sqspell_config.php 813 B

12345678910111213141516171819202122232425262728293031323334353637
  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. require_once(SM_PATH . 'functions/prefs.php');
  16. /* Just for poor wretched souls with E_ALL. :) */
  17. global $data_dir;
  18. sqgetGlobalVar('username', $username, SQ_SESSION);
  19. /**
  20. * Example:
  21. *
  22. * $SQSPELL_APP = array( 'English' => 'ispell -a',
  23. * 'Spanish' => 'ispell -d spanish -a' );
  24. */
  25. $SQSPELL_APP = array('English' => 'ispell -a',
  26. 'Spanish' => 'ispell -d spanish -a');
  27. $SQSPELL_APP_DEFAULT = 'English';
  28. $SQSPELL_WORDS_FILE =
  29. getHashedFile($username, $data_dir, "$username.words");
  30. $SQSPELL_EREG = 'ereg';
  31. ?>