[eGroupWare-svn] r55954 - /trunk/egroupware/api/src/Framework/Bundle.php

[email protected] Sat, 30 Apr 2016 17:05:00 -0000
Newsgroups gmane.comp.web.egroupware.cvs
Message-ID <[email protected]>
Author: ralfbecker
Date: Sat Apr 30 19:05:00 2016
New Revision: 55954

URL: http://svn.stylite.de/viewvc/egroupware?rev=55954&view=rev
Log:
fix infinit recursion, when creating new bundles, caused by max_modified not calculated

Modified:
    trunk/egroupware/api/src/Framework/Bundle.php

Modified: trunk/egroupware/api/src/Framework/Bundle.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/egroupware/api/src/Framework/Bundle.php?rev=55954&r1=55953&r2=55954&view=diff
==============================================================================
--- trunk/egroupware/api/src/Framework/Bundle.php (original)
+++ trunk/egroupware/api/src/Framework/Bundle.php Sat Apr 30 19:05:00 2016
@@ -143,6 +143,7 @@
 			unset($query);
 			list($path,$query) = explode('?',$path,2);
 			$mod = filemtime(EGW_SERVER_ROOT.$path);
+			if ($mod > $max_modified) $max_modified = $mod;
 
 			// ckeditor must be included before bundled files, as they depend on it!
 			if (strpos($path,'/ckeditor/ckeditor.js') !== false)
@@ -157,7 +158,6 @@
 			}
 			else
 			{
-				if ($mod > $max_modified) $max_modified = $mod;
 				$to_minify[] = substr($path,1);
 			}
 		}


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z