Data Center drawings not showing up in dc_stats.php
Closed this issue · 4 comments
on line 106 in dc_stats.php
$mapHTML="<div class="canvas" style="background-image: url('".urlencode($mapfile)."')">
.urlencode breaks the drawing path in the code. fix is to change the line to
$mapHTML="<div class="canvas" style="background-image: url('$mapfile')">
Thanks. Might want to add that to the install directions.
You mean like right here?
https://github.com/opendcim/openDCIM/wiki/RHEL#add-a-virtual-host-for-opendcim
https://github.com/opendcim/openDCIM/wiki/RHEL#add-a-virtual-host-for-opendcim-1
https://github.com/opendcim/openDCIM/wiki/Ubuntu#add-a-virtual-host-for-opendcim
https://github.com/opendcim/openDCIM/wiki/OpenSUSE#add-a-virtual-host-for-opendcim
sorry must be blind or was working off an old directory... could swear I double checked the virtual host file.