2007-07-19 10:40:28 +00:00
|
|
|
<?php
|
2016-08-19 10:51:35 +12:00
|
|
|
|
|
|
|
namespace SilverStripe\Dev;
|
|
|
|
|
|
|
|
use SilverStripe\Control\Controller;
|
|
|
|
|
2008-01-09 04:18:36 +00:00
|
|
|
/**
|
|
|
|
* Simple controller that the installer uses to test that URL rewriting is working.
|
|
|
|
*/
|
2016-11-29 12:31:16 +13:00
|
|
|
class InstallerTest extends Controller
|
|
|
|
{
|
2014-08-15 18:53:05 +12:00
|
|
|
|
2020-04-20 18:58:09 +01:00
|
|
|
private static $allowed_actions = [
|
2016-11-29 12:31:16 +13:00
|
|
|
'testrewrite'
|
2020-04-20 18:58:09 +01:00
|
|
|
];
|
2008-03-07 01:17:14 +00:00
|
|
|
|
2016-11-29 12:31:16 +13:00
|
|
|
public function testrewrite()
|
|
|
|
{
|
|
|
|
echo "OK";
|
|
|
|
}
|
2007-07-19 10:40:28 +00:00
|
|
|
}
|