JsCompile.php
[Pman.Core] / JsCompile.php
index 3e37a42..ef7e97f 100644 (file)
@@ -110,7 +110,8 @@ class Pman_Core_JsCompile  extends Pman
                 $ofiles [] = $f . '/'. basename($fx);
             }
         }
-       usort($ofiles,function($a,$b) {
+        // sort exc. the .js
+        usort($ofiles,function($a,$b) {
             $a = substr($a, 0, -3);
             $b=  substr($b, 0, -3);
             if ($a == $b) {