From 5d4350cb4453eef0149a5a65c24e2759875dde13 Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Fri, 2 Sep 2016 10:28:46 -0400 Subject: [PATCH] wrong function --- view/View.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/View.class.php b/view/View.class.php index ac887294..b00fe2c1 100644 --- a/view/View.class.php +++ b/view/View.class.php @@ -149,7 +149,7 @@ class View { 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))); } } }