mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 14:02:32 +02:00
MDL-30292 rework trailing whitespace test
Now compatible with zlib compression.
This commit is contained in:
parent
f89a83b87b
commit
14074ef7c6
@ -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');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user