mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 20:57:26 +02:00
Making sure themes can use $tp object
This commit is contained in:
@@ -1606,7 +1606,7 @@ class themeHandler
|
|||||||
function parse_theme_php($path)
|
function parse_theme_php($path)
|
||||||
{
|
{
|
||||||
$CUSTOMPAGES = "";
|
$CUSTOMPAGES = "";
|
||||||
|
$tp = e107::getParser();
|
||||||
$fp = fopen(e_THEME.$path."/theme.php", "r");
|
$fp = fopen(e_THEME.$path."/theme.php", "r");
|
||||||
$themeContents = fread($fp, filesize(e_THEME.$path."/theme.php"));
|
$themeContents = fread($fp, filesize(e_THEME.$path."/theme.php"));
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
|
Reference in New Issue
Block a user