Conditions | 2 |
Paths | 2 |
Total Lines | 15 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
1 | <?php |
||
35 | public function doTest() |
||
36 | { |
||
37 | $this->setMessage('Check if Suhosin is either not loaded or correctly configured.'); |
||
38 | |||
39 | if (!$this->isSuhosinLoaded()) { |
||
40 | $this->markSuccess(); |
||
41 | return; |
||
42 | } |
||
43 | |||
44 | $this->markFailed( |
||
45 | 'The php setting allow_url_fopen must be enabled to allow downloading of data. ' . |
||
46 | 'Note that this does NOT imply any security risk as this is NOT the setting allow_url_include ' . |
||
47 | '(which should be disabled).' |
||
48 | ); |
||
49 | } |
||
50 | |||
61 |