diff --git a/src/css/themes/dark.css b/src/css/themes/dark.css
index dda0e7c..ab73787 100644
--- a/src/css/themes/dark.css
+++ b/src/css/themes/dark.css
@@ -495,6 +495,7 @@ fieldset[disabled] select,
.table {
font-size: 0.85em;
+ color: inherit;
}
.table thead th {
diff --git a/src/installer/index.php b/src/installer/index.php
index ded291e..d81929a 100644
--- a/src/installer/index.php
+++ b/src/installer/index.php
@@ -1,7 +1,7 @@
1) {
+if(file_exists(__INSTALLER_LOCK_FILE)) {
die('File "private/INSTALLER_LOCK" exists. Please remove it if you wish to run the installer again.');
}
diff --git a/src/installer/pages/7.php b/src/installer/pages/7.php
index 2929629..dc83e18 100644
--- a/src/installer/pages/7.php
+++ b/src/installer/pages/7.php
@@ -3,7 +3,11 @@ if(!defined("__TSWEBSITE_VERSION")) die("Direct access not allowed");
use Wruczek\TSWebsite\Utils\TeamSpeakUtils;
-if(file_put_contents(__INSTALLER_LOCK_FILE, "WEBSITE_INSTALLED") === false) {
+$installerLockMessage =
+ "After initial installation, this file prevents someone from running it again. " .
+ "Deleting it will allow you to re-install TS-website.";
+
+if(file_put_contents(__INSTALLER_LOCK_FILE, $installerLockMessage) === false) {
die("Cannot write to private/INSTALLER_LOCK
! Please check the file/directory permissions");
}
@@ -89,7 +93,7 @@ if(!empty($_COOKIE["tsw_allow_metrics"])) {