workaround to make squirrelspell work again in SM 1.5 CVS
authoravel <avel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 24 Nov 2006 09:23:50 +0000 (09:23 +0000)
committeravel <avel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 24 Nov 2006 09:23:50 +0000 (09:23 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11962 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/squirrelspell/sqspell_functions.php

index 08e55e8fd94e1183dfcb130a2560010cdba4fd4d..fadcc18d4705e2ad77a21020287557d26d30d1f8 100644 (file)
@@ -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 **/
 
 /**