mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-08 18:51:12 +02:00
18 lines
262 B
PHP
18 lines
262 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Initialises the versioned stage when a request is made.
|
||
|
*
|
||
|
* @package framework
|
||
|
* @subpackage control
|
||
|
*/
|
||
|
class VersionedRequestFilter {
|
||
|
|
||
|
public function preRequest() {
|
||
|
Versioned::choose_site_stage();
|
||
|
}
|
||
|
|
||
|
public function postRequest() {
|
||
|
}
|
||
|
|
||
|
}
|