浏览代码

Include compatibility plugin; no need for patching to use plugin

pdontthink 19 年之前
父节点
当前提交
a999bf86e3
共有 1 个文件被更改,包括 6 次插入0 次删除
  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.