Initial groundwork to use phpdocumentor.
[squirrelmail.git] / plugins / squirrelspell / sqspell_config.php
index 7ef16dac153dbb7ad94741ac403aae7a70f2b8ae..e4ec0f8843d9cb9666d82046621e23dbc42f968b 100644 (file)
@@ -2,18 +2,23 @@
 /**
  * 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.
  *
  *
  *
  * $Id$
+ * @package plugins
+ * @subpackage squirrelspell
  */
 
-require_once('../functions/prefs.php');
+/** */
+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 +33,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';
 
 ?>