'build' ); private static $allowed_actions = array( 'build' ); public function build($request) { if(Director::is_cli()) { $da = DatabaseAdmin::create(); return $da->handleRequest($request, $this->model); } else { $renderer = DebugView::create(); echo $renderer->renderHeader(); echo $renderer->renderInfo("Environment Builder", Director::absoluteBaseURL()); echo "