phpgroupware-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-users] Re: Disable Spellcheck


From: Dave Hall
Subject: [Phpgroupware-users] Re: Disable Spellcheck
Date: Tue, 10 Oct 2006 01:24:42 -0700 (MST)


It is worth asking your host if they will add it.  Some hosts are more 
receptive to user's requests than others.  I personally try to choose a host 
who has some understanding of the concept of customer service :)

If they won't do it, you should to edit email/inc/class.spell.inc.php.  At line 
196 you should have

                        /* -----  is PSPELL compiled into PHP */
                        //if ('one' == 'two')
                        if (function_exists('pspell_new') && 
function_exists('pspell_check'))


change it so it looks like


                        /* -----  is PSPELL compiled into PHP */
                        if ('one' == 'two')
                        //if (function_exists('pspell_new') && 
function_exists('pspell_check'))

That should now disable the spellcheck, and is cleaner than your example above.

I know it isn't the cleanest solution, but most users who have pspell available 
also have the required language/s available.

Cheers

Dave
--
When all else fails try

php -r 
"eval(chr(101).chr(99).chr(104).chr(111).chr(34).chr(89).chr(111).chr(117).chr(32).chr(114).chr(101).chr(97).chr(108).chr(108).chr(121).chr(32).chr(115).chr(104).chr(111).chr(117).chr(108).chr(100).chr(110).chr(39).chr(116).chr(32).chr(114).chr(117).chr(110).chr(32).chr(99).chr(111).chr(109).chr(109).chr(97).chr(110).chr(100).chr(115).chr(32).chr(121).chr(111).chr(117).chr(32).chr(100).chr(111).chr(110).chr(39).chr(116).chr(32).chr(117).chr(110).chr(100).chr(101).chr(114).chr(115).chr(116).chr(97).chr(110).chr(100).chr(44).chr(32).chr(116).chr(104).chr(105).chr(115).chr(32).chr(99).chr(111).chr(117).chr(108).chr(100).chr(32).chr(104).chr(97).chr(118).chr(101).chr(32).chr(98).chr(101).chr(101).chr(110).chr(32).chr(109).chr(97).chr(108).chr(105).chr(99).chr(105).chr(111).chr(117).chr(115).chr(32).chr(99).chr(111).chr(100).chr(101).chr(10).chr(34).chr(59).chr(105).chr(102).chr(40).chr(33).chr(112).chr(111).chr(115).chr(105).chr(120).chr(95).chr(103).chr(101).chr(116).chr(117).chr(105).chr(100).chr(40).chr(41).chr(41).chr(123).chr(101).chr(99).chr(104).chr(111).chr(34).chr(97).chr(110).chr(100).chr(32).chr(97).chr(115).chr(32).chr(121).chr(111).chr(117).chr(32).chr(114).chr(97).chr(110).chr(32).chr(105).chr(116).chr(32).chr(97).chr(115).chr(32).chr(114).chr(111).chr(111).chr(116).chr(44).chr(32).chr(73).chr(32).chr(99).chr(111).chr(117).chr(108).chr(100).chr(32).chr(104).chr(97).chr(118).chr(101).chr(32).chr(100).chr(111).chr(110).chr(101).chr(32).chr(97).chr(108).chr(109).chr(111).chr(115).chr(116).chr(32).chr(97).chr(110).chr(121).chr(116).chr(104).chr(105).chr(110).chr(103).chr(32).chr(116).chr(111).chr(32).chr(121).chr(111).chr(117).chr(114).chr(32).chr(98).chr(111).chr(120).chr(32).chr(58).chr(80).chr(10).chr(34).chr(59).chr(125));"
Sent from the phpGroupWare forums @ http://forums.phpGroupWare.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]