typo
authorAlan Knowles <alan@roojs.com>
Mon, 24 May 2021 07:05:23 +0000 (15:05 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 24 May 2021 07:05:23 +0000 (15:05 +0800)
File/Convert/Solution/anydwgtopdf.php

index 129b9c5..01c7e08 100644 (file)
@@ -89,10 +89,10 @@ class File_Convert_Solution_anydwgtopdf extends File_Convert_Solution
         touch($lock);
         
         // should really check if exe exists.
-        chdir($uni['dir'] . '/.wine/drive_c');
+        chdir($uinfo['dir'] . '/.wine/drive_c');
         
         // /Recover = seems to handle hang situations
-        $cmd = "{$timeout} 60s {$xvfb} --auto {$wine} \"" . $uni['dir'] . "/.wine/drive_c/Program Files (x86)/Any DWG to PDF Converter Pro/dp.exe\" /InFile C:\\\\{$fromb} /OutFile C:\\\\{$tob}" .
+        $cmd = "{$timeout} 60s {$xvfb} --auto {$wine} \"" . $uinfo['dir'] . "/.wine/drive_c/Program Files (x86)/Any DWG to PDF Converter Pro/dp.exe\" /InFile C:\\\\{$fromb} /OutFile C:\\\\{$tob}" .
             " /OutMode AlltoOne /Overwrite /OutLayout Paper /Recover /OutArea ZoomExtends";