From f7c66f78e4d30654d6ec70efc177b55ebae69480 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Wed, 11 Jan 2017 17:47:21 +0000 Subject: [PATCH] done #1089 @2 --- inc/ws/Util/class.ws.exporter.php | 1 - inc/ws/Util/html5/class.ws.html5.compiler.php | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/ws/Util/class.ws.exporter.php b/inc/ws/Util/class.ws.exporter.php index 2365aa099..1fcfc6829 100644 --- a/inc/ws/Util/class.ws.exporter.php +++ b/inc/ws/Util/class.ws.exporter.php @@ -416,7 +416,6 @@ class wsExporter { } } - $lftp = new cubeCommandLine('lftp'); $lftp->setArg('u', $u['user'] . ',' . $u['pass']); $lftp->setArg('p', $u['port']); diff --git a/inc/ws/Util/html5/class.ws.html5.compiler.php b/inc/ws/Util/html5/class.ws.html5.compiler.php index 980eba6c7..3b5760a73 100644 --- a/inc/ws/Util/html5/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/class.ws.html5.compiler.php @@ -837,12 +837,13 @@ class wsHTML5Compiler { $tmp = cubeFiles::tempnam(); file_put_contents($tmp, $js); - $uglify = new cubeCommandLine('uglifyjs'); + $uglify = new CubeIT_CommandLine('uglifyjs'); $uglify->setPath(CONVERTER_PATH); $uglify->setArg('o', $minimized); $uglify->setArg('no-copyright'); $uglify->setArg(null, $tmp); $uglify->execute(); + $uglify->debug(); } $js = file_get_contents($minimized); -- 2.39.5