Skip to content

Commit

Permalink
fix git conflict with mailing browse
Browse files Browse the repository at this point in the history
  • Loading branch information
lcdservices committed Sep 25, 2012
2 parents db2686b + 883122e commit 5dffe51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion civicrm/custom/php/CRM/Utils/PDF/Utils.php
Expand Up @@ -176,7 +176,8 @@ static function _html2pdf_wkhtmltopdf( $paper_size, $orientation, $html_infile,
}

//$snappy = new Knp_Snappy_Pdf($config->wkhtmltopdfPath);
$snappy = new Knp_Snappy_Pdf($wkhtmltopdfPath);
// kz - Snappy is now using PHP namespaces
$snappy = new \Knp\Snappy\Pdf($wkhtmltopdfPath);
$snappy->setOption( "page-width", $paper_size[2]."pt" );
$snappy->setOption( "page-height", $paper_size[3]."pt" );
$snappy->setOption( "orientation", $orientation );
Expand Down

0 comments on commit 5dffe51

Please sign in to comment.