Author: ralfbecker
New Revision: 48607
URL: http://svn.stylite.de/viewvc/egroupware?rev=48607&view=rev
Log:
remove create_function in favor of a global function as it is causing - at least on some systems - permanently changing cache-ids / minified sources not to be cached
Modified:
branches/14.1/phpgwapi/inc/min/config.php
Modified: branches/14.1/phpgwapi/inc/min/config.php
URL: http://svn.stylite.de/viewvc/egroupware/branches/14.1/phpgwapi/inc/min/config.php?rev=48607&r1=48606&r2=48607&view=diff
— branches/14.1/phpgwapi/inc/min/config.php (original)
+++ branches/14.1/phpgwapi/inc/min/config.php Wed Sep 10 18:15:53 2014
@@ -165,7 +165,11 @@
- Remove all “use strict” as we have a mixure of strict and non-strict code (mostly externals libs)
- and javascript is supposed to run quicker without anyway.
*/
-$min_serveOptions[‘postprocessor’] = create_function(’$in’, ‘return str_replace(array(’“use strict”;’, ‘“use strict”’), ‘’, $in);’);
+function remove_use_strict($in)
+{
- return str_replace(array(’“use strict”;’, ‘“use strict”’), ‘’, $in);
+}
+$min_serveOptions[‘postprocessor’] = ‘remove_use_strict’;
/**
- If you upload files from Windows to a non-Windows server, Windows may report
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs