made compression configurable, fixes #38

This commit is contained in:
El RIDO 2019-06-23 19:45:40 +02:00
parent 848d3563f4
commit c2e060d464
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
8 changed files with 35 additions and 21 deletions

View file

@ -56,6 +56,7 @@ class ViewTest extends PHPUnit_Framework_TestCase
$page->assign('URLSHORTENER', '');
$page->assign('QRCODE', true);
$page->assign('HTTPWARNING', true);
$page->assign('COMPRESSION', 'zlib');
$dir = dir(PATH . 'tpl');
while (false !== ($file = $dir->read())) {