Skip to content
Browse files

[combine.php] Prepend new variable $comment to output if the variable…

… is present
  • Loading branch information...
1 parent 9cb8af7 commit 7e0242bf070e724a640ef14b08c4e3f560f382e4 @gabrielschulhof gabrielschulhof committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 combine.php
View
4 combine.php
@@ -8,6 +8,10 @@
$contents = '';
+if ( isset( $comment ) ) {
+ $contents .= $comment;
+}
+
// Loop through the files adding them to a string
foreach ( $files as $file ) {
$contents .= file_get_contents($file). "\n\n";

0 comments on commit 7e0242b

Please sign in to comment.
Something went wrong with that request. Please try again.