utf-8 is already converted by ja_JP extra functions.
[squirrelmail.git] / plugins / squirrelspell / sqspell_config.php
index 2938a407a3110d9e3e5dccd96badf7f254a89eee..f2a59ca88104c43e8089e6c956da7814b65e2c57 100644 (file)
@@ -2,7 +2,7 @@
 /**
  * sqspell_config.php -- SquirrelSpell Configuration file.
  *
- * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Copyright (c) 1999-2003 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  *
@@ -13,7 +13,9 @@
 require_once(SM_PATH . 'functions/prefs.php');
 
 /* Just for poor wretched souls with E_ALL. :) */
-global $username, $data_dir;
+global $data_dir;
+
+sqgetGlobalVar('username', $username, SQ_SESSION);
 
 /**
  * Example:
@@ -28,7 +30,5 @@ $SQSPELL_WORDS_FILE =
    getHashedFile($username, $data_dir, "$username.words");
 
 $SQSPELL_EREG = 'ereg';
-#$SQSPELL_SOUP_NAZI = 'Mozilla/3, Mozilla/2, Opera 4, Opera/4, '
-#   . 'Macintosh, OmniWeb';
 
 ?>