Allow access to webserver logs via weinterface, if activated for customer; todo: view more content dynamically; fixes #603

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2018-12-01 13:33:08 +01:00
parent 1bd4c00631
commit 8291c7d2ab
15 changed files with 181 additions and 8 deletions

View File

@@ -96,3 +96,12 @@ if (isDatabaseVersion('201811180')) {
updateToDbVersion('201811300');
}
if (isDatabaseVersion('201811300')) {
showUpdateStep("Adding new logview-flag to customers");
Database::query("ALTER TABLE `" . TABLE_PANEL_CUSTOMERS . "` ADD `logviewenabled` tinyint(1) NOT NULL default '0';");
lastStepStatus(0);
updateToDbVersion('201812010');
}