MDL-30292 rework trailing whitespace test

Now compatible with zlib compression.
This commit is contained in:
Petr Skoda
2011-12-10 20:34:20 +01:00
parent acb3bf8ac1
commit 7f467e69c0
+1 -7
View File
@@ -25,13 +25,7 @@
ob_start(); //for whitespace test
require('../../../config.php');
// extra whitespace test - intentionally breaks cookieless mode
$extraws = '';
while (ob_get_level()) {
$extraws .= ob_get_contents();
ob_end_clean();
}
$extraws = ob_get_clean();
require_once($CFG->libdir.'/adminlib.php');