mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix #2352 make $tpl_path in templates backward compatible with XE
This commit is contained in:
parent
7af4f93175
commit
1d42b6bde4
1 changed files with 1 additions and 1 deletions
|
|
@ -461,7 +461,7 @@ class Template
|
|||
{
|
||||
// Import Context and lang as local variables.
|
||||
$__Context = $this->vars ?: \Context::getAll();
|
||||
$__Context->tpl_path = $this->absolute_dirname;
|
||||
$__Context->tpl_path = './' . $this->relative_dirname;
|
||||
|
||||
// Start the output buffer.
|
||||
$this->_ob_level = ob_get_level();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue