Skip to content

Commit

Permalink
use traditional HEREDOC delimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler36 committed May 10, 2024
1 parent 118cae3 commit 0a22a26
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config.xhgui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
hooks:
post-start:
- exec: |
cat <<-PHP > .ddev/xhprof/xhprof_prepend.php
cat <<-EOF > .ddev/xhprof/xhprof_prepend.php
<?php
// DDEV's built in xhprof handler breaks our own.
// We'll temporarily override it here, but return control back later.
// If you don't want this behavior, comment out the hooks in ".ddev/config.xhgui.yaml".
return;
PHP
EOF
pre-stop:
- exec: |
cat <<-PHP > .ddev/xhprof/xhprof_prepend.php
cat <<-EOF > .ddev/xhprof/xhprof_prepend.php
<?php
// #ddev-generated
// We'll give back control of this file to DDEV. Next time it checks, it will see it has ownership
// and override this file with the current default.
// If you don't want this behavior, comment out the hooks in .ddev/config.xhgui.yaml.
return;
PHP
EOF

0 comments on commit 0a22a26

Please sign in to comment.