Skip to content

Commit

Permalink
No debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasbnielsen committed Nov 2, 2015
1 parent 6c752ef commit 99b0025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/PdfThumbnailerExtension.php
Expand Up @@ -21,7 +21,7 @@ public function Thumbnail($page=1) {
// Create and cache the thumbnail
$command = self::$convert_path.' '.escapeshellarg($file_filename.'['.((int)$page-1).']').' -quality 90 '.escapeshellarg(Director::baseFolder().'/'.$cache_filename);
$out = shell_exec($command);
var_dump( $command );
//var_dump( $command );
if ( ! file_exists(Director::baseFolder().'/'.$cache_filename) ) return false;
$img = new Image();
$img->setFilename($cache_filename);
Expand Down

0 comments on commit 99b0025

Please sign in to comment.