opendcim/openDCIM

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.

sorry must be blind or was working off an old directory... could swear I double checked the virtual host file.