What steps will reproduce the problem?
1. configure an apache2 alias directory (i.e. /gmapi /usr/share/gmapi
2. cp demos/simple.php /usr/share/gmapi/simple.php
3. change the marker to: $MAP_OBJECT->addMarkerByAddress("Denver, CO","Marker
Title", "Marker Description",'','img/mymarker.png');
What is the expected output? What do you see instead?
Instead of using the relative path to mymarker.png, the doc root will be used
as base path and therefore point to /var/www/img/mymarker.png
Line 1465 in the API - why do you use $_SERVER['DOCUMENT_ROOT']? In order to
use Alias Directories i needed to remove the $_SERVER['DOCUMENT_ROOT']
statement to make it work.
Original issue reported on code.google.com by wuethric...@gmail.com on 28 Aug 2011 at 12:04
Original issue reported on code.google.com by
wuethric...@gmail.com
on 28 Aug 2011 at 12:04