From: Alan Knowles Date: Fri, 30 Aug 2013 06:29:20 +0000 (+0800) Subject: JsCompile.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=30717bd378f6807bcd3b64c79ae0bfad2221eb13 JsCompile.php --- diff --git a/JsCompile.php b/JsCompile.php index 3e37a422..ef7e97fd 100644 --- a/JsCompile.php +++ b/JsCompile.php @@ -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) {