mirror of
https://github.com/silverstripe/silverstripe-environmentcheck
synced 2024-10-22 17:05:40 +02:00
11 lines
218 B
PHP
11 lines
218 B
PHP
<?php
|
|
|
|
class DevCheck extends Controller {
|
|
function index() {
|
|
if(!Permission::check("ADMIN")) return Security::permissionFailure();
|
|
|
|
$e = new EnvironmentChecker('check', 'Environment status');
|
|
return $e;
|
|
}
|
|
}
|