00001 <?php 00002 00008 class Tpl extends oxUBase 00009 { 00015 public function render() 00016 { 00017 parent::render(); 00018 00019 // security fix so that you cant access files from outside template dir 00020 return basename( (string) oxConfig::getParameter( "tpl" ) ); 00021 } 00022 }