mirror of
https://github.com/openvk/chandler.git
synced 2025-01-22 15:24:15 +03:00
Fix logic error in view delegation thing
This commit is contained in:
parent
5f839e1bb6
commit
ba400a21e3
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ class Router
|
|||
$tpl = $this->scope["_template"] ?? "$presenterName/$action.xml";
|
||||
if($tpl[0] !== "/") {
|
||||
$dir = CHANDLER_EXTENSIONS_ENABLED . "/$namespace/Web/Presenters/templates";
|
||||
$tpl = "$dir/$tplCandidate";
|
||||
$tpl = "$dir/$tpl";
|
||||
if(isset($this->scope["_templatePath"]))
|
||||
$tpl = str_replace($dir, $this->scope["_templatePath"], $tpl);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue