silverstripe-framework/src/Dev/InstallerTest.php

22 lines
350 B
PHP

<?php
namespace SilverStripe\Dev;
use SilverStripe\Control\Controller;
/**
* Simple controller that the installer uses to test that URL rewriting is working.
*/
class InstallerTest extends Controller
{
private static $allowed_actions = array(
'testrewrite'
);
public function testrewrite()
{
echo "OK";
}
}