projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updating error_box() function calls. second argument was modified.
[squirrelmail.git]
/
plugins
/
squirrelspell
/
sqspell_config.php
diff --git
a/plugins/squirrelspell/sqspell_config.php
b/plugins/squirrelspell/sqspell_config.php
index ff139b5deb22c63b86d2e1619ff642bbf1211454..c4f120620c239f23823575436c1ea35c362b3184 100644
(file)
--- a/
plugins/squirrelspell/sqspell_config.php
+++ b/
plugins/squirrelspell/sqspell_config.php
@@
-10,12
+10,6
@@
* @subpackage squirrelspell
*/
* @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);
/** vars needed for getHashedFile() */
global $data_dir;
sqgetGlobalVar('username', $username, SQ_SESSION);
@@
-32,7
+26,7
@@
sqgetGlobalVar('username', $username, SQ_SESSION);
* $SQSPELL_APP = array('English' => '/usr/local/bin/aspell -a');
*</pre>
* Sometimes you have to specify full path for PHP to find it.
* $SQSPELL_APP = array('English' => '/usr/local/bin/aspell -a');
*</pre>
* Sometimes you have to specify full path for PHP to find it.
- *
+ *
* You can use Aspell or Ispell spellcheckers, the command line is the
* same. 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.
*
@@
-53,7
+47,7
@@
sqgetGlobalVar('username', $username, SQ_SESSION);
* <li>Whatever your setting is, don't omit the "-a" flag.</li>
* <li>Remember to keep same array keys during upgrades. Don't rename them.
* Users' dictionary settings use it.</li>
* <li>Whatever your setting is, don't omit the "-a" flag.</li>
* <li>Remember to keep same array keys during upgrades. Don't rename them.
* Users' dictionary settings use it.</li>
- * <li>Interface might translate array key, if used key is present in
+ * <li>Interface might translate array key, if used key is present in
* SquirrelMail translations.</li>
* </ul>
* <pre>
* SquirrelMail translations.</li>
* </ul>
* <pre>
@@
-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.
*
* $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.
* 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.