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:
parent
61eba5de34
commit
4140f649a9
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user