Skip to content

Fixes a line in GetContent.php and cleans up whitespace

Robert Bruntz requested to merge update_getcontent into master

The line that is commented out in this commit was commented out in the old segments-web (2019-2024) running code and I think the one before that. Not sure why the line was not commented out in the GitLab (previously GitHub) code. Leaving the line uncommented causes the home page to take 1-2 minuts to load and this error to be printed toward the top of the loaded page: Warning: file_get_contents(http://10.14.0.101/report/db): failed to open stream: HTTP request failed! in /root/git/web/1.0/src/classes/GetServerData.php on line 124 Whereas commenting it out does not seem to have any negative consequences (so out it goes). See Work Log notes for 2019.05.30 and 2024.05.07 for more details.

Merge request reports