]> _ Git - fluidbook_processfarm.git/commitdiff
wip #5220 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 8 Apr 2022 11:14:20 +0000 (13:14 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 8 Apr 2022 11:14:20 +0000 (13:14 +0200)
bin/process.php
src/Process.php

index b1fe3dc307ab3f0eebc8425c285ce4deedf1575e..879e2cfa3e48ffa5ccdbc1adb7c5a056d369db32 100644 (file)
@@ -5,5 +5,5 @@ use Fluidbook\Farmer\Process;
 require_once __DIR__ . "/../vendor/autoload.php";
 $params = json_decode(base64_decode($argv[1]), true);
 
-$p = new Process($params['out'], $params['page'], $params['resolutionRatio'], $params['mobileRatio'], $params['format'], $params['resolution'], $params['withText'], $params['withGraphics'], $params['version'], $params['force']);
+$p = new Process($params['out'], $params['page'], $params['resolutionRatio'], $params['mobileRatio'], $params['format'], $params['resolution'], $params['withGraphics'], $params['withText'], $params['version'], $params['force']);
 echo $p->process();
\ No newline at end of file
index 1c5979e73516107e273ec147d4769b7be3a97521..6115f0dca92cdafcca97c690ac8c651802462d48 100644 (file)
@@ -19,7 +19,6 @@ class Process extends ProcessFile
     public function __construct($out, $page, $resolutionRatio, $mobileRatio, $format = 'jpg', $resolution = 150, $withGraphics = true, $withTexts = true, $version = 'html', $force = false)
     {
 
-        $this->filespath = realpath(__DIR__ . '/../files/');
         $this->setOut($out);
         $this->setPage($page);
         $this->setForce(!!$force);