PHP-View
PHP-View copied to clipboard
Update PhpRenderer.php
Normalize paths, fix errors in setLayout, protectedIncludeScope.
func_get_arg(0) doesnt work, see example 3:
protectedIncludeScope('foo.phtml', ['template' => 'not_foo.phtml'])