From 5deb2e018461493937f278cff0a743efff68597b Mon Sep 17 00:00:00 2001 From: Aaron Zinck Date: Thu, 26 Jan 2023 11:16:11 -0500 Subject: [PATCH] EPAD8-1976 do not export font files --- .../epa_node_export/src/Controller/NodeExportController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/drupal/web/modules/custom/epa_node_export/src/Controller/NodeExportController.php b/services/drupal/web/modules/custom/epa_node_export/src/Controller/NodeExportController.php index 1f62086a99..41275160ca 100644 --- a/services/drupal/web/modules/custom/epa_node_export/src/Controller/NodeExportController.php +++ b/services/drupal/web/modules/custom/epa_node_export/src/Controller/NodeExportController.php @@ -206,7 +206,7 @@ public function createExportFile(NodeInterface $node) { exec("cd " . dirname($export_dir) . " && wget --execute robots=off --restrict-file-names=windows --no-host-directories --timestamping --convert-links --adjust-extension --directory-prefix=" - . basename($export_dir) . " --content-on-error --no-verbose --recursive --level=1 --page-requisites -I /core,/libraries,/modules,/s3fs-css,/s3fs-js,/sites,/system,/themes,/sites,/misc -X /themes/epa_theme/pattern-lab " + . basename($export_dir) . " --content-on-error --no-verbose --recursive --level=1 --page-requisites -I /core,/libraries,/modules,/s3fs-css,/s3fs-js,/sites,/system,/themes,/sites,/misc -X /themes/epa_theme/pattern-lab,/themes/epa_theme/fonts " . $url . ' 2>&1', $wget_output, $wget_status); // Log the output of wget if we hit an error (non-zero status code).