silverstripe-environmentcheck/code/DevHealthController.php

9 lines
172 B
PHP
Raw Normal View History

<?php
class DevHealthController extends Controller {
function index() {
$e = new EnvironmentChecker('health', 'Site health');
$e->setErrorCode(404);
return $e;
}
}