Update Installation

Ruan 2024-11-26 16:40:13 +00:00
parent b0e044fffc
commit 7e2fdc4083

@ -54,6 +54,17 @@ To enable SSL for the database, see [Database SSL](https://gitlab.com/ruany/lite
To use the web interface in a container environment, see [Docker](https://gitlab.com/ruany/litebans-php/-/wikis/Docker).
To enable randomized ID support for the web interface, find the following section in `inc/settings.php`:
```
// If you'd like to use random IDs generated by the plugin from the web interface:
// First, run the following command from your server console:
// > litebans reveal web
// This will dump a large string (1234:abc...) which can be pasted here.
// (Note: this feature requires LiteBans version 2.16.2 or later.)
$this->random_secret = '';
```
Run the `litebans reveal web` command and paste it into this option. After this has been configured, you can seamlessly look up any random ID from the web interface and view the details directly.
## Troubleshooting
If you're using a web host's database, contact them to find out whether their database accepts remote connections. Most [web hosts](https://gitlab.com/ruany/LiteBans/-/wikis/MySQL-Errors#hosts) do not provide this for free plans.