From: Alan Knowles Date: Fri, 30 Aug 2013 06:29:04 +0000 (+0800) Subject: JsCompile.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=8d260e18d8c1ac4cbade05edf057436f192cdca0 JsCompile.php --- diff --git a/JsCompile.php b/JsCompile.php index 61f5729c..a5cab6f8 100644 --- a/JsCompile.php +++ b/JsCompile.php @@ -111,8 +111,8 @@ class Pman_Core_JsCompile extends Pman } } usort($ofiles,function($a,$b) { - $a = substr($a, -3); - $b= substr($b, -3); + $a = substr($a, 0, -3); + $b= substr($b, 0, -3); if ($a == $b) { return 0; }