DiamondLightSource/SynchWeb

References to DLS beamlines outside of config files

Opened this issue · 1 comments

There are references to DLS beamlines outside of the config files. For example:

$ fgrep -Ilr i02 . | grep -Ev '(config|README)'
./api/includes/pages/class.fault.php
./api/includes/pages/class.pdf.php
./api/includes/pages/class.stats.php
./api/includes/pages/class.status.php
./api/includes/pages/class.vstat.php
./client/js/templates/status.html
./client/js/templates/status/status.html

Searching for i03 and i04 find similar locations.

This makes it harder to deploy at another site because changes need to be made in more places than just the config files.

Raised as an internal issue at https://jira.diamond.ac.uk/browse/LIMS-696