silverstripe-framework/control/VersionedRequestFilter.php

18 lines
262 B
PHP
Raw Normal View History

<?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() {
}
}