From de7d544e11b0373aada7726b3705ccb0303baa08 Mon Sep 17 00:00:00 2001 From: Craig Davis Date: Tue, 19 Mar 2013 07:53:50 -0500 Subject: [PATCH] Fix broken refresh command option --- bin/resume.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/bin/resume.php b/bin/resume.php index ed30b73..b203c37 100644 --- a/bin/resume.php +++ b/bin/resume.php @@ -94,15 +94,12 @@ $rendered = $m->render( 'title' => $title, 'style' => $style, 'resume' => $resume, - 'reload' => $refresh_dev + 'reload' => $config->refresh ) ); // Save the fully rendered html to the final destination -file_put_contents( - $output, - $rendered -); +file_put_contents($output, $rendered); echo "Wrote html to $output\n"; // If the user wants to make a pdf file, we'll use wkhtmltopdf to convert