Ver Fonte

Include compatibility plugin; no need for patching to use plugin

pdontthink há 19 anos atrás
pai
commit
a999bf86e3
1 ficheiros alterados com 6 adições e 0 exclusões
  1. 6 0
      functions/strings.php

+ 6 - 0
functions/strings.php

@@ -35,6 +35,12 @@ $SQM_INTERNAL_VERSION = array(1,5,1);
  */
 include_once(SM_PATH . 'functions/global.php');
 
+/**
+ * Include Compatibility plugin if available.
+ */
+if (file_exists(SM_PATH . 'plugins/compatibility/functions.php'))
+    include_once(SM_PATH . 'plugins/compatibility/functions.php'));
+
 /**
  * Appends citation markers to the string.
  * Also appends a trailing space.