X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=plugins%2Fsquirrelspell%2Fsqspell_config.php;h=467ecf73b2ea4be5ee23644e1de663608a450a32;hb=030aec2e10ef98ed378bbfdc47da8c20bd5e3311;hp=73260b255d49766014bb1bf9d990c4f68e863650;hpb=4b4abf93a9624311afef0c385023724ee46a2b60;p=squirrelmail.git diff --git a/plugins/squirrelspell/sqspell_config.php b/plugins/squirrelspell/sqspell_config.php index 73260b25..467ecf73 100644 --- a/plugins/squirrelspell/sqspell_config.php +++ b/plugins/squirrelspell/sqspell_config.php @@ -3,19 +3,13 @@ /** * sqspell_config.php -- SquirrelSpell Configuration file. * - * @copyright © 1999-2005 The SquirrelMail Project Team + * @copyright © 1999-2006 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package plugins * @subpackage squirrelspell */ -/** @ignore */ -if (! defined('SM_PATH')) define('SM_PATH','../../'); - -/** getHashedFile() function for SQSPELL_WORDS_FILE and sqgetGlobalVar() from global.php */ -include_once(SM_PATH . 'functions/prefs.php'); - /** vars needed for getHashedFile() */ global $data_dir; sqgetGlobalVar('username', $username, SQ_SESSION); @@ -32,9 +26,9 @@ sqgetGlobalVar('username', $username, SQ_SESSION); * $SQSPELL_APP = array('English' => '/usr/local/bin/aspell -a'); * * Sometimes you have to specify full path for PHP to find it. - * - * You can use Aspell or Ispell spellcheckers. Aspell might provide - * better spellchecking for Western languages. + * + * You can use Aspell or Ispell spellcheckers, the command line is the + * same. Aspell might provide better spellchecking for Western languages. * * If you want to have more than one dictionary available to users, * configure the array to look something like this: @@ -53,7 +47,7 @@ sqgetGlobalVar('username', $username, SQ_SESSION); *
  • Whatever your setting is, don't omit the "-a" flag.
  • *
  • Remember to keep same array keys during upgrades. Don't rename them. * Users' dictionary settings use it.
  • - *
  • Interface might translate array key, if used key is present in + *
  • Interface might translate array key, if used key is present in * SquirrelMail translations.
  • * *
    @@ -78,7 +72,7 @@ $SQSPELL_APP_DEFAULT = 'English';
      *
      * $SQSPELL_WORDS_FILE is a location and mask of a user dictionary file.
      * The default setting should be OK for most everyone.
    - *     
    + *
      * This setting is used only when SquirrelSpell is upgraded from
      * older setup. Since SquirrelMail 1.5.1 SquirrelSpell stores all settings in
      * same place that stores other SquirrelMail user preferences.
    @@ -94,5 +88,3 @@ $SQSPELL_WORDS_FILE =
      * @deprecated It is not used since 1.5.1 (sqspell 0.5)
      */
     $SQSPELL_EREG = 'ereg';
    -
    -?>
    \ No newline at end of file