mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
Interim fix for template data destruction
git-svn-id: file:///svn/phpbb/trunk@167 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
8f097ef156
commit
b684289bb1
1 changed files with 9 additions and 0 deletions
|
@ -67,6 +67,15 @@ class Template {
|
||||||
$this->set_rootdir($root);
|
$this->set_rootdir($root);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Destroys this template object. Should be called when you're done with it, in order
|
||||||
|
* to clear out the template data so you can load/parse a new template set.
|
||||||
|
*/
|
||||||
|
function destroy()
|
||||||
|
{
|
||||||
|
$_tpldata = array();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the template root directory for this Template object.
|
* Sets the template root directory for this Template object.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue