From 5d9e6ef83f9ca4ac3b70ac31ac7bcf4f93fe2c83 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Wed, 6 Dec 2017 17:41:25 +0100 Subject: [PATCH] upd: config.modules (added GET dev/session_destroy) | add: api.module.dev (added session_destroy() to clean the variable) --- build/api/module/dev.php | 28 ++++++++++++++++++++++++++++ config/modules.json | 12 ++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 build/api/module/dev.php diff --git a/build/api/module/dev.php b/build/api/module/dev.php new file mode 100644 index 0000000..a16481c --- /dev/null +++ b/build/api/module/dev.php @@ -0,0 +1,28 @@ + 'reload the website NOW !!']; + } + +} diff --git a/config/modules.json b/config/modules.json index 0940e7c..79d11b9 100755 --- a/config/modules.json +++ b/config/modules.json @@ -83,6 +83,18 @@ }, + "dev": { + + "GET session_destroy": { + "description": "Destroy current session", + "permissions": [], + "parameters": {}, + "output": {} + } + + }, + + "RESTexample": { "POST article": {