Source for file sqspell_config.php

Documentation is available at sqspell_config.php

  1. <?php
  2. /**
  3.  * sqspell_config.php -- SquirrelSpell Configuration file.
  4.  *
  5.  * Copyright (c) 1999-2020 The SquirrelMail Project Team
  6.  * Licensed under the GNU GPL. For full terms see the file COPYING.
  7.  *
  8.  * @version $Id: sqspell_config.php 14840 2020-01-07 07:42:38Z pdontthink $
  9.  * @package plugins
  10.  * @subpackage squirrelspell
  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. sqgetGlobalVar('username'$usernameSQ_SESSION);
  19.  
  20. /**
  21.  * Example:
  22.  *
  23.  * $SQSPELL_APP = array( 'English' => 'ispell -a',
  24.  *                     'Spanish' => 'ispell -d spanish -a' );
  25.  * You can replace ispell with aspell keeping the same commandline:
  26.  * $SQSPELL_APP = array( 'English' => 'aspell -a',
  27.  *                     'Spanish' => 'aspell -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';

Documentation generated on Mon, 13 Jan 2020 04:25:21 +0100 by phpDocumentor 1.4.3