AssetTrait.php wip_alan_T7392_setting_up_less_for_publisher
authorAlan <alan@roojs.com>
Thu, 8 Sep 2022 07:02:52 +0000 (15:02 +0800)
committerAlan <alan@roojs.com>
Thu, 8 Sep 2022 07:02:52 +0000 (15:02 +0800)
AssetTrait.php

index a859679..38dee0f 100644 (file)
@@ -373,7 +373,7 @@ trait Pman_Core_AssetTrait {
              
             clearstatcache();
             if (!file_exists($compiledir.'/'.$output) ||
-                !filesize($compiledir.'/'.$routput)) {
+                !filesize($compiledir.'/'.$output)) {
                 echo "<!-- compile did not generate files : $cmd -->\n";
                 echo "<script type=\"text/javascript\">alert('Failed to compile Less Dir: ". basename($file). "');</script>\n";
                 return;