1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-21 13:11:52 +02:00

Making sure themes can use $tp object

This commit is contained in:
Moc 2013-05-02 10:17:54 +02:00
parent 61eba5de34
commit 4140f649a9

View File

@ -1606,7 +1606,7 @@ class themeHandler
function parse_theme_php($path)
{
$CUSTOMPAGES = "";
$tp = e107::getParser();
$fp = fopen(e_THEME.$path."/theme.php", "r");
$themeContents = fread($fp, filesize(e_THEME.$path."/theme.php"));
fclose($fp);