roundcubemail/program/lib/Roundcube/rcube_spellcheck_pspell.php
private function init()
    {
        if (!$this->plink) {
            if (!extension_loaded('pspell')) {
                $this->error = "Pspell extension not available";
                return;
            }

            $this->plink = pspell_new($this->lang, null, null, RCUBE_CHARSET, PSPELL_FAST);
        }

        if (!$this->plink) {
            $this->error = "Unable to load Pspell engine for selected language";
        }
    }
private function init()
    {
        if (!$this->plink) {
            if (!extension_loaded('pspell')) {
                $this->error = "Pspell extension not available";
                return;
            }

            $this->plink = pspell_new($this->lang, null, null, RCUBE_CHARSET, PSPELL_FAST);
        }

        if (!$this->plink) {
            $this->error = "Unable to load Pspell engine for selected language";
        }
    }
private function init ( ) { if ( ! $ this -> plink ) { if ( ! extension_loaded ( 'pspell' ) ) { $ this -> error = "Pspell extension not available" ; return ; } $ this -> plink = pspell_new ( $ this -> lang , null , null , RCUBE_CHARSET , PSPELL_FAST ) ; } if ( ! $ this -> plink ) { $ this -> error = "Unable to load Pspell engine for selected language" ; } }
Initializes PSpell dictionary
Initializes PSpell dictionary