wrong function

This commit is contained in:
Alex Grintsvayg 2016-09-02 10:28:46 -04:00
parent 764ec67919
commit 5d4350cb44

View file

@ -149,7 +149,7 @@ class View
{ {
foreach(glob("$dir/*.$ext") as $file) foreach(glob("$dir/*.$ext") as $file)
{ {
file_put_contents($file.'.gz', gzcompress(file_get_contents($file))); file_put_contents($file.'.gz', gzencode(file_get_contents($file)));
} }
} }
} }