You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-28 07:41:55 +03:00
Avoid using ini_set
This commit is contained in:
@@ -69,11 +69,14 @@ class PMA_ConfigTest extends PHPUnit_Framework_TestCase
|
||||
$this->object->checkOutputCompression();
|
||||
$this->assertEquals('auto', $this->object->get("OBGzip"));
|
||||
|
||||
/*
|
||||
Disabled as ini_set is quite often not allowed
|
||||
@ini_set('zlib.output_compression', 'Off');
|
||||
$this->object->checkOutputCompression();
|
||||
$this->assertFalse($this->object->get("OBGzip"));
|
||||
|
||||
@ini_set('zlib.output_compression', 'On');
|
||||
*/
|
||||
}
|
||||
|
||||
public function testCheckClient()
|
||||
|
||||
Reference in New Issue
Block a user