Merge pull request #19030 from civicrm/5.32
[civicrm-core.git] / ext / afform / html / afform_html.php
index 8b45581d59a0d1bf5b7bd7f6b9cebe5f346484b3..c7dd357d7ab2a8add95b4737bb0de94d558763d9 100644 (file)
@@ -4,7 +4,7 @@ require_once 'afform_html.civix.php';
 use CRM_AfformHtml_ExtensionUtil as E;
 
 if (!defined('AFFORM_HTML_MONACO')) {
-  define('AFFORM_HTML_MONACO', 'node_modules/monaco-editor/min/vs');
+  define('AFFORM_HTML_MONACO', 'bower_components/monaco-editor/min/vs');
 }
 
 /**
@@ -153,7 +153,7 @@ function afform_html_civicrm_check(&$messages) {
   if (!file_exists($dir)) {
     $messages[] = new CRM_Utils_Check_Message(
       'afform_html_monaco',
-      ts('Afform HTML is missing its "node_modules" folder. Please consult the README.md for current installation instructions.'),
+      ts('Afform HTML is missing its "bower_components" folder. Please consult the README.md for current installation instructions.'),
       ts('Afform HTML: Packages are missing'),
       \Psr\Log\LogLevel::CRITICAL,
       'fa-chain-broken'