[eluser]WanWizard[/eluser]
Shouldn't be to difficult.
If it's limited to views, you could create a folder for every version in the views directory, and use
Code:
$this->load->view( $version.'/my_view_file' );
If your application requires view folders, you could add a method to the loader library (or in your MY_Controller):
Code:
function function versioned_view($folder, $view, $vars = array(), $return = FALSE)
{
// store the current view path
$path = $this->load->_ci__ci_view_path;
// alter the view path so it points to our version folder
$this->load->_ci__ci_view_path .= $folder . '/';
// load the view
$this->load->view($view, $vars, $return);
// restore the view path
$this->load->_ci__ci_view_path = $path;
}
If it involves different underlying code, it gets more complex.