1
0
mirror of https://github.com/silverstripe/silverstripe-environmentcheck synced 2024-10-22 15:05:40 +00:00

11 lines
228 B
PHP
Raw Normal View History

<?php
class DevCheckController extends Controller {
function index() {
if(!Permission::check("ADMIN")) return Security::permissionFailure();
$e = new EnvironmentChecker('check', 'Environment status');
return $e;
}
}