From 8d53dc5f8f8f9d723f45c4f6950331d91a252cac Mon Sep 17 00:00:00 2001 From: kirillius Date: Thu, 26 Dec 2024 12:37:56 +0300 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81=D1=8B=20=D0=BE=D0=B1?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/webui-server | 1 + plugins/updates/Updates.php | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/bin/webui-server b/bin/webui-server index 0afdef5..13d8d14 100755 --- a/bin/webui-server +++ b/bin/webui-server @@ -12,4 +12,5 @@ HOST=`jq -r .web.host $CFGFILE` PORT=`jq -r .web.port $CFGFILE` #TODO FIXME !!!! killall php +cd $ROOT php -S $HOST:$PORT $ROOT/server.php \ No newline at end of file diff --git a/plugins/updates/Updates.php b/plugins/updates/Updates.php index 9b1097c..2acf88f 100644 --- a/plugins/updates/Updates.php +++ b/plugins/updates/Updates.php @@ -13,10 +13,6 @@ class Updates implements IPluggable } - public function render() - { - return file_get_contents(__DIR__ . "/plugin.js"); - } public function init() {