mirror of
https://github.com/mrclay/minify.git
synced 2025-08-12 09:05:08 +02:00
Fixes issue 299 on Windows by reducing length of cache filenames
This commit is contained in:
@@ -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']
|
||||
|
Reference in New Issue
Block a user