From f8b62b358b53eb4d30eeda1abc125097221d2193 Mon Sep 17 00:00:00 2001 From: "mrclay.org" Date: Sun, 27 Oct 2013 04:12:27 +0000 Subject: [PATCH] Fixes issue 299 on Windows by reducing length of cache filenames --- min/lib/Minify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/min/lib/Minify.php b/min/lib/Minify.php index cf05af9..c9a5d02 100644 --- a/min/lib/Minify.php +++ b/min/lib/Minify.php @@ -565,7 +565,7 @@ class Minify { { $name = preg_replace('/[^a-zA-Z0-9\\.=_,]/', '', self::$_controller->selectionId); $name = preg_replace('/\\.+/', '.', $name); - $name = substr($name, 0, 200 - 34 - strlen($prefix)); + $name = substr($name, 0, 100 - 34 - strlen($prefix)); $md5 = md5(serialize(array( Minify_Source::getDigest(self::$_controller->sources) ,self::$_options['minifiers']