From 8e7bc1f67987ab494f0955e626d067609f1bf5ff Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Mon, 2 May 2016 19:37:38 +0200 Subject: [PATCH] (dashboard) the weirdness around stats.inc, getstats.php and ajax.js needs to be replaced with a more structural solution. Because all current widgets depend on legacy code and we don't want to pollute new style mvc code with it, we choose to build a new broker in the old structure. This commit only includes the basic setup for the broken and an empty gateway_api() function --- src/www/widgets/api/get.php | 75 +++++++++++++++++++++++++ src/www/widgets/api/plugins/gateway.php | 31 ++++++++++ 2 files changed, 106 insertions(+) create mode 100644 src/www/widgets/api/get.php create mode 100644 src/www/widgets/api/plugins/gateway.php diff --git a/src/www/widgets/api/get.php b/src/www/widgets/api/get.php new file mode 100644 index 000000000..76d91e061 --- /dev/null +++ b/src/www/widgets/api/get.php @@ -0,0 +1,75 @@ +