Skip to content

Instantly share code, notes, and snippets.

@evilchili
Created November 30, 2012 19:54
Show Gist options
  • Save evilchili/4178135 to your computer and use it in GitHub Desktop.
Save evilchili/4178135 to your computer and use it in GitHub Desktop.
patch to fix plugins/system/scriptmerge/scriptmerge.php
--- scriptmerge.php.dist 2012-11-30 11:52:31.000000000 -0800
+++ scriptmerge.php 2012-11-30 11:49:07.000000000 -0800
@@ -300,7 +300,7 @@
$cacheExpireFile = $cachePath.'_expire';
// Check the cache
- if(true || ScriptMergeHelper::hasExpired($cacheExpire, $cachePath)) {
+ if( ScriptMergeHelper::hasExpired($cacheExpireFile, $cachePath)) {
$buffer = null;
foreach($list as $file) {
@yireo
Copy link

yireo commented Dec 1, 2012

Hi,
Thanks for the gist. The line you replaced seems a development-error that was not ment to go into the live version of the plugin. We will release a new version soon to include this fix.
Regards,
Jisse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment