add http error pages (#381)

* implement 404 for webserver - this is a quick hack, should be refactored later

* add http error pages ... design is more a placebo ;-)

* tune errorpages
fix some cgi related stuff, now only python is possible
executing and reading python file is possilbe, but it cannot receive any data from webui

* fix typo

* fix another typo
This commit is contained in:
redPanther
2017-01-29 21:20:12 +01:00
committed by GitHub
parent c43c7e3fcd
commit 7f2d6bde9a
15 changed files with 161 additions and 79 deletions

View File

@@ -1,10 +1,11 @@
#pragma once
#include <string>
#include <QByteArray>
#include <QString>
namespace Process {
void restartHyperion(bool asNewProcess=false);
std::string command_exec(const char* cmd);
QByteArray command_exec(QString cmd, QByteArray data="");
};