var OpenLayers.ImgPath = <?= substr( $asset_tag_helper->image_path( '.' ), 0, -1 ); ?>openlayers";
It's not pretty at all. But it's working. This way we benefit from the helper function that checks for the host and the prefix.
P.S: sorry for the < replacement, I bet you got it it's a php opening tag
1 to 3 of 3