Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 7e0242b

Browse files
author
Gabriel Schulhof
committed
[combine.php] Prepend new variable $comment to output if the variable is present
1 parent 9cb8af7 commit 7e0242b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

combine.php

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
$contents = '';
1010

11+
if ( isset( $comment ) ) {
12+
$contents .= $comment;
13+
}
14+
1115
// Loop through the files adding them to a string
1216
foreach ( $files as $file ) {
1317
$contents .= file_get_contents($file). "\n\n";

0 commit comments

Comments
 (0)