Revert "dbrfb"

This reverts commit 7438efd2a6
This commit is contained in:
2019-02-25 10:10:06 +00:00
parent 7438efd2a6
commit 71024498c9
3 changed files with 21 additions and 5 deletions

View File

@ -27,7 +27,7 @@ $search = function () {
$router->addRoute("/^\/search\/$/", $search); // route "/search/*"
$edit = function() {
$post = function() {
$_POST = array_merge($_POST, $_GET); //debug uniquement
var_dump($_POST);
/*
@ -78,4 +78,4 @@ $edit = function() {
$prepared->execute();
};
$router->addRoute("/^\/post\/" . $postCharacters . "+\/edit\/*$/", $edit);
$router->addRoute("/^\/post\/" . $postCharacters . "+\/edit\/*$/", $post);