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