theme.php 234 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 <?php class ControllerEventTheme extends Controller { public function index(&$view, &$data) { // This is only here for compatibility with old templates if (substr($view, -4) == '.tpl') { $view = substr($view, 0, -4); } } }