silverstripe-environmentcheck/code/DevHealthController.php
Ingo Schommer edc433793b NEW Cleaned up access checks, allow extension
Logic hasn't changed, but removed duplicate ADMIN check in DevCheckController.
2013-01-09 18:59:22 +01:00

10 lines
186 B
PHP

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