Segs / WebUI

Web UI template to manage user accounts for the SEGS servers
Other
7 stars 7 forks source link

Dashboard Undefind Variable Error #20

Closed mobbyg closed 2 years ago

mobbyg commented 2 years ago

The variables for the socket connection to the database are as follows in the example config file.. config_example.php - Lines 36 - 39: // WebSocket connection $ws_target = "ws://localhost/"; $ws_port = 6001; $ws_use_ssl = false;

In the include for the dashboard, it's looking for different variables, causing an undefined variable error when loading the page. dashboard.php - Line 30: $target = "{$ws_target_protocol}{$ws_target_addr}:{$ws_target_port}";

unknown