X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Fsquirrelspell%2Fsqspell_interface.php;h=5bcd2cc4281e3ef2293493528cb8a8ed0fdb3c01;hb=353d074afac6827c90f4bb03e846c5e453d3b5b1;hp=417e8c60e2e01a2e9ee6f4382505e0d3dcc05e07;hpb=1b858d863d345dc7bcc4bed0c169091b084b3a0c;p=squirrelmail.git diff --git a/plugins/squirrelspell/sqspell_interface.php b/plugins/squirrelspell/sqspell_interface.php index 417e8c60..5bcd2cc4 100644 --- a/plugins/squirrelspell/sqspell_interface.php +++ b/plugins/squirrelspell/sqspell_interface.php @@ -9,13 +9,18 @@ * SquirrelSpell. * * @author Konstantin Riabitsev - * @copyright © 1999-2006 The SquirrelMail Project Team + * @copyright 1999-2018 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package plugins * @subpackage squirrelspell */ +/** + * Include the SquirrelMail initialization file. + */ +require('../../include/init.php'); + /** * Set up a couple of non-negotiable constants and * defaults. Don't change these, * the setuppable stuff is in @@ -24,12 +29,6 @@ $SQSPELL_DIR='plugins/squirrelspell/'; $SQSPELL_CRYPTO=FALSE; - -/** - * Include the SquirrelMail initialization file. - */ -require('../../include/init.php'); - include_once(SM_PATH . $SQSPELL_DIR . 'sqspell_functions.php'); /** @@ -50,4 +49,3 @@ if (file_exists(SM_PATH . $SQSPELL_DIR . "modules/$MOD.mod")) { // display sm footer (closes html tags) $oTemplate->display('footer.tpl'); } -?> \ No newline at end of file