~ubuntu-branches/ubuntu/hardy/squirrelmail/hardy-updates

« back to all changes in this revision

Viewing changes to plugins/squirrelspell/sqspell_config.php

  • Committer: Bazaar Package Importer
  • Author(s): Thijs Kinkhorst, Jeroen van Wolffelaar, Thijs Kinkhorst
  • Date: 2005-08-15 21:06:00 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050815210600-qxvat452exjqg64j
Tags: 2:1.4.5-2
[ Jeroen van Wolffelaar ]
* Restore squirrelmail-configure manpage, accidently dropped in -1
* Use debhelper compat level 4

[ Thijs Kinkhorst ]
* Drop obsolete symlink for attachment dir.
* Do not ship upstream README, which contains hardly any information
  relevant to Debian. Extend README.Debian a bit. Thanks W. Borgert.
* Add years to copyright statement.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 * Copyright (c) 1999-2005 The SquirrelMail Project Team
6
6
 * Licensed under the GNU GPL. For full terms see the file COPYING.
7
7
 *
8
 
 *
9
 
 *
10
 
 * $Id: sqspell_config.php,v 1.14.2.2 2004/12/27 15:03:58 kink Exp $
 
8
 * @version $Id: sqspell_config.php,v 1.14.2.3 2005/06/04 21:57:32 jervfors Exp $
 
9
 * @package plugins
 
10
 * @subpackage squirrelspell
11
11
 */
12
12
 
13
13
require_once(SM_PATH . 'functions/prefs.php');
30
30
    $dicts = file( '/var/cache/dictionaries-common/ispell-dicts-list.txt' );
31
31
    $SQSPELL_APP = array();
32
32
    foreach ($dicts as $dict) {
33
 
        preg_match('/(\w+)\s+\((.+)\)/', $dict, $dparts);
 
33
        preg_match('/(\S+)\s+\((.+)\)/', $dict, $dparts);
34
34
        $SQSPELL_APP[$dparts[2]] = 'ispell -d ' . $dparts[1] . ' -a';
35
35
    }
36
36
} else {