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() {