Bladeren bron

workaround to make squirrelspell work again in SM 1.5 CVS

Alexandros Vellis 18 jaren geleden
bovenliggende
commit
a41bbd755e
1 gewijzigde bestanden met toevoegingen van 6 en 0 verwijderingen
  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 **/
 
 /**