Bläddra i källkod

Include compatibility plugin; no need for patching to use plugin

pdontthink 19 år sedan
förälder
incheckning
a999bf86e3
1 ändrade filer med 6 tillägg och 0 borttagningar
  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_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.
  * Appends citation markers to the string.
  * Also appends a trailing space.
  * Also appends a trailing space.