Explorar o código

workaround to make squirrelspell work again in SM 1.5 CVS

Alexandros Vellis %!s(int64=18) %!d(string=hai) anos
pai
achega
a41bbd755e
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      plugins/squirrelspell/sqspell_functions.php

+ 6 - 0
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 **/
 
 /**