]> _ Git - cubeextranet.git/commitdiff
#811
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 28 Aug 2017 11:41:37 +0000 (11:41 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 28 Aug 2017 11:41:37 +0000 (11:41 +0000)
inc/ws/Util/html5/master/class.ws.html5.compiler.php

index 97375a41c076c90ac5a2996885e9afeac38d31d6..abdc0071626766d3f48c07e80152307b71ff518e 100644 (file)
@@ -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;
                        }