bored

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

commit 717827f8fa9a9a02f7c1ded4fdb935dc8f022ae6
parent dae0f26ebe5c9eb8057fba28a16fa34c9ec5de59
Author: Claudio Alessi <smoppy@gmail.com>
Date:   Sat, 13 May 2017 22:59:33 +0200

Errata corridge.

Diffstat:
MREADME.md | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md @@ -9,7 +9,7 @@ include('bored.php'); bored_init(); -route('GET', '/hello/!name', function($name = "Friend") { +route('GET', '/hello/!name', function($name) { return "Hello ${name}"; }); @@ -33,7 +33,7 @@ Keep reading to learn about things bored do have. It works like this: ``` -route('GET', '/hello/?name', function($name) { +route('GET', '/hello/?name', function($name = "Friend") { return "Hello ${name}"; }); ```