From bf15b3ebb2d2ecaa01fc8b891bfaa8198b3f8949 Mon Sep 17 00:00:00 2001 From: avel Date: Fri, 24 Nov 2006 09:23:50 +0000 Subject: [PATCH] workaround to make squirrelspell work again in SM 1.5 CVS git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11962 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/squirrelspell/sqspell_functions.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/squirrelspell/sqspell_functions.php b/plugins/squirrelspell/sqspell_functions.php index 08e55e8f..fadcc18d 100644 --- a/plugins/squirrelspell/sqspell_functions.php +++ b/plugins/squirrelspell/sqspell_functions.php @@ -22,6 +22,12 @@ global $SQSPELL_APP, $SQSPELL_APP_DEFAULT, $SQSPELL_WORDS_FILE, $SQSPELL_CRYPTO; */ include_once(SM_PATH . 'plugins/squirrelspell/sqspell_config.php'); +/** + * Workaround for including function squirrelspell_version() in SM 1.5 CVS, + * where plugins' setup.php is not included by default. + */ +include_once(SM_PATH . 'plugins/squirrelspell/setup.php'); + /** Hooked functions **/ /** -- 2.25.1