Browse Source

workaround to make squirrelspell work again in SM 1.5 CVS

Alexandros Vellis 18 năm trước cách đây
mục cha
commit
a41bbd755e
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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 **/
 
 /**