bored

A micro PHP framework
git clone git://git.bitsmanent.org/bored
Log | Files | Refs | README

commit 667b8ffec9d1a256b6afb274b0a6af9f236c25a0
parent e097d897793538c956965b5efe6708dfd94b195e
Author: Claudio Alessi <smoppy@gmail.com>
Date:   Tue, 20 Sep 2016 18:36:45 +0200

Data passed to view() is shared with the layout.

Diffstat:
Mbored.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bored.php b/bored.php @@ -540,7 +540,7 @@ function lviewinc($name, $data = [], $layout = null, $layoutdata = []) { } function view($name, $data = []) { - return lviewinc($name, $data, null, []); + return lviewinc($name, $data, null, $data); } function bored_run() {