OXID eShop CE  4.8.10
 All Classes Files Functions Variables Pages
tpl.php
Go to the documentation of this file.
1 <?php
2 
8 class Tpl extends oxUBase
9 {
15  public function render()
16  {
18 
19  // security fix so that you cant access files from outside template dir
20  $sTplName = basename( (string) oxConfig::getParameter( "tpl" ) );
21  if ($sTplName) {
22  $sTplName = 'custom/'.$sTplName;
23  }
24 
25  return $sTplName;
26  }
27 }