workaround to make squirrelspell work again in SM 1.5 CVS
[squirrelmail.git] / 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 **/
 
 /**