commit eaf122bfa83a0151f99c4a05e666298966e64fa6
parent 16591adf0960853ec4173eca8d5e0ed12a37f2cf
Author: Claudio Alessi <smoppy@gmail.com>
Date: Thu, 4 Feb 2016 14:45:18 +0100
Remove bored_init() auto-call.
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
@@ -7,6 +7,8 @@ In a nutshell:
<?php
include('bored.php');
+bored_init();
+
route('GET', '/hello/!name', function($name) {
return "Hello ${name}";
});
diff --git a/bored.php b/bored.php
@@ -535,5 +535,4 @@ function bored_init() {
});
}
-bored_init();
?>