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 $sTplName = basename(oxConfig::getParameter("tpl")); 00021 00022 return $sTplName; 00023 } 00024 }