OXID eShop CE
4.9.7
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Pages
tpl.php
Go to the documentation of this file.
1
<?php
2
8
class
Tpl
extends
oxUBase
9
{
10
16
public
function
render
()
17
{
18
parent::render
();
19
20
// security fix so that you cant access files from outside template dir
21
$sTplName = basename((
string
)
oxRegistry::getConfig
()->getRequestParameter(
"tpl"
));
22
if
($sTplName) {
23
$sTplName =
'custom/'
. $sTplName;
24
}
25
26
return
$sTplName;
27
}
28
}
application
controllers
tpl.php
Generated by
1.8.1.2