overwrite variables in templates so they work more intuitively
This commit is contained in:
parent
128eeea639
commit
77ebf107de
@ -10,7 +10,7 @@
|
|||||||
* @author Timothy J. Warren <tim@timshomepage.net>
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
* @copyright 2015 - 2018 Timothy J. Warren
|
* @copyright 2015 - 2018 Timothy J. Warren
|
||||||
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
* @version 2.3.0
|
* @version 2.2.0
|
||||||
* @link https://git.timshomepage.net/timw4mail/ion
|
* @link https://git.timshomepage.net/timw4mail/ion
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -62,7 +62,7 @@ class HtmlView extends HttpView {
|
|||||||
$data['container'] = $this->container;
|
$data['container'] = $this->container;
|
||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
extract($data, \EXTR_SKIP);
|
extract($data, \EXTR_OVERWRITE);
|
||||||
include_once $path;
|
include_once $path;
|
||||||
$buffer = ob_get_contents();
|
$buffer = ob_get_contents();
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
|
Loading…
Reference in New Issue
Block a user