Merge pull request #14363 from mfb/error-msg
[civicrm-core.git] / CRM / Core / IDS.php
index 648b680d22ff79638c7cd2f321161ba5bc794bd7..4d0d513e2c01548b8b5bd55b6edf06a06e36c27b 100644 (file)
@@ -34,6 +34,7 @@ class CRM_Core_IDS {
 
   /**
    * Define the threshold for the ids reactions.
+   * @var array
    */
   private $threshold = [
     'log' => 25,
@@ -125,7 +126,7 @@ class CRM_Core_IDS {
         'filter_type' => 'xml',
         'filter_path' => "{$civicrm_root}/packages/IDS/default_filter.xml",
         'tmp_path' => $tmpDir,
-        'HTML_Purifier_Path' => $civicrm_root . '/vendor/ezyang/htmlpurifier/library/HTMLPurifier.auto.php',
+        'HTML_Purifier_Path' => $civicrm_root . 'packages/IDS/vendors/htmlpurifer/HTMLPurifier.auto.php',
         'HTML_Purifier_Cache' => $tmpDir,
         'scan_keys' => '',
         'exceptions' => ['__utmz', '__utmc'],