mirror of https://github.com/flightphp/core
I want to use more template directory's along with the multiple flight.views.path during execution of the script. So want to be able to change it on the fly, during execution. And I want the extra template directory's to be outside of the normal flight.views.path. I tried a lot of ways without changing the View.php but this change is simpel and works for me. This way I can easily do: Flight::render(TPL_PATH.'hello', ['name'=>'Bob'], 'header_content');pull/155/head
parent
3f491eee0d
commit
2f4210ad3f
Loading…
Reference in new issue