On 20 Sep 2003 Lee Brink <[EMAIL PROTECTED]> wrote:

> > I have been looking around but I've not found anyplace where this is being
> > discussed.  I can't get the plugin to run aspell at all, the plugin runs
> > but aspell does not.  The only thing stated in INSTALL was that
> > apsell must be the the PHP path and I've installed it in c:\php4\aspell.
> 
> If you have PHP safe mode on, you need to make sure that c:\php4\aspell is
> listed as a valid directory to find executables.

I'm not sure what this means.

> 
> Whether you do or don't have safe mode enabled, edit the
> sqspell_config.php and add the absolute path to the executable name. That
> way the program knows where aspell is, regardless of the user it's running
> as.

Thanks for the answer but I've tried that as well.  Maybe I'm doing this 
wrong; here's what I put into the config file.  Maybe I should be using the 
UNC path?


<?php
/**
 * sqspell_config.php -- SquirrelSpell Configuration file.
 *
 * Copyright (c) 1999-2003 The SquirrelMail Project Team
 * Licensed under the GNU GPL. For full terms see the file COPYING.
 *
 *
 *
 * $Id: sqspell_config.php,v 1.14 2003/03/11 15:57:21 kink Exp $
 */

require_once(SM_PATH . 'functions/prefs.php');

/* Just for poor wretched souls with E_ALL. :) */
global $data_dir;

sqgetGlobalVar('username', $username, SQ_SESSION);

/**
 * Example:
 *
 * $SQSPELL_APP = array( 'English' => 'aspell -a',
 *                     'Spanish' => 'aspell -d spanish -a' );
 */
$SQSPELL_APP = array('English' => 'c:/php4/aspell -a',
                        'Spanish' => 'c:/php4/aspell -d spanish -a');
$SQSPELL_APP_DEFAULT = 'English';
$SQSPELL_WORDS_FILE = 
   getHashedFile($username, $data_dir, "$username.words");

$SQSPELL_EREG = 'ereg';

?>

> 
> Hope this helps.
> 
>      Lee
> 
> -- 
> Barking moonbat: noun. Someone on the extreme edge of whatever their -ism
> happens to be.
> 
> Usage:"Definition of a 'barking moonbat': someone who sacrifices sanity
> for the sake of consistency"
> -Adriana Cronin
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> --
> squirrelmail-users mailing list
> List Address: [EMAIL PROTECTED]
> List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
> List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to