Commit f061c438 by Mohammad Izzat Johari

checking windows or not

parent 5d50ca31
...@@ -47,7 +47,7 @@ if (!function_exists('convertPdfVersion')) { ...@@ -47,7 +47,7 @@ if (!function_exists('convertPdfVersion')) {
// $gsPath = 'gswin64c'; // $gsPath = 'gswin64c';
$gsPath = getGsPath(); $gsPath = getGsPath();
$command = "gswin64c -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNOPAUSE -dQUIET -dBATCH -sOutputFile=" . escapeshellarg($outputPath) . " " . escapeshellarg($inputPath); $command = $gsPath . " -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNOPAUSE -dQUIET -dBATCH -sOutputFile=" . escapeshellarg($outputPath) . " " . escapeshellarg($inputPath);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment