From 22423e7a620b7c5a58e8145fd129574b53989285 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Mon, 28 Aug 2017 11:41:37 +0000 Subject: [PATCH] #811 --- inc/ws/Util/html5/master/class.ws.html5.compiler.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/inc/ws/Util/html5/master/class.ws.html5.compiler.php b/inc/ws/Util/html5/master/class.ws.html5.compiler.php index 97375a41c..abdc00716 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -958,8 +958,6 @@ class wsHTML5Compiler { $uglify->setArg(null, $tmp); $uglify->execute(); $uglify->debug(); - - } $dest = $this->vdir . '/data/' . $jsfinal . '.js'; copy($minimized, $dest); @@ -1501,6 +1499,9 @@ class wsHTML5Compiler { $less->setArg(null, $destination_less); $less->setArg(null, $this->vdir . '/' . $destination_css); $less->execute(); + if(!file_exists($this->vdir . '/' . $destination_css)){ + die($less->output); + } if ($f != 'widget') { $this->stylesheets[] = $destination_css; } -- 2.39.5