Rev 84 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 84 | Rev 86 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | 36 | ||
37 | require_once __DIR__ . '/../../src/framework/vnag_framework.inc.php'; |
37 | require_once __DIR__ . '/../../src/framework/vnag_framework.inc.php'; |
38 | require_once __DIR__ . '/../../src/plugins/ping/PingCheck.class.php'; |
38 | require_once __DIR__ . '/../../src/plugins/ping/PingCheck.class.php'; |
39 | 39 | ||
40 | $job = new PingCheck(); |
40 | $job = new PingCheck(); |
41 | $job->http_visual_output = VNag::OUTPUT_EXCEPTION; |
41 | $job->http_visual_output = ($_REQUEST['H']??'')=='' ? VNag::OUTPUT_NEVER : VNag::OUTPUT_EXCEPTION; |
42 | $job->http_invisible_output = VNag::OUTPUT_ALWAYS; |
42 | $job->http_invisible_output = VNag::OUTPUT_ALWAYS; |
43 | $job->run(); |
43 | $job->run(); |
44 | unset($job); |
44 | unset($job); |
45 | 45 | ||
46 | ?> |
46 | ?> |
- | 47 | ||
- | 48 | <p>Please note that this page also outputs an invisible <a href="https://www.viathinksoft.de/projects/vnag">VNag</a> |
|
- | 49 | machine-readable part which can be read using the webreader plugin.</p> |
|
- | 50 | ||
47 | </body> |
51 | </body> |
48 | 52 | ||
49 | </html> |
53 | </html> |