utf-8 is already converted by ja_JP extra functions.
[squirrelmail.git] / plugins / squirrelspell / sqspell_config.php
index 36fe289da9ae2e2a8236ef874ebfac41bcd8e0de..f2a59ca88104c43e8089e6c956da7814b65e2c57 100644 (file)
@@ -15,11 +15,7 @@ require_once(SM_PATH . 'functions/prefs.php');
 /* Just for poor wretched souls with E_ALL. :) */
 global $data_dir;
 
-if ( !check_php_version(4,1) ) {
-    global $_SESSION;
-}
-
-$username = $_SESSION['username'];
+sqgetGlobalVar('username', $username, SQ_SESSION);
 
 /**
  * Example:
@@ -34,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';
 
 ?>