From 30717bd378f6807bcd3b64c79ae0bfad2221eb13 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 30 Aug 2013 14:29:20 +0800 Subject: [PATCH] JsCompile.php --- JsCompile.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.39.2