Changeset 12212 for extensions/GMaps/gmaps_root.class.inc.php
- Timestamp:
- Sep 24, 2011, 11:31:32 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/GMaps/gmaps_root.class.inc.php
r10551 r12212 274 274 { 275 275 // if an kml file id is given, apply the url of the file (needs to give the complete URI for google) 276 if($row['kmlFileId']>0 and $row['kmlFileUrlId']!='') $row['kmlFileUrl']= $_SERVER['SCRIPT_URI'].PWG_LOCAL_DIR.self::KML_DIRECTORY.rawurlencode($row['kmlFileUrlId']);276 if($row['kmlFileId']>0 and $row['kmlFileUrlId']!='') $row['kmlFileUrl']=get_absolute_root_url().PWG_LOCAL_DIR.self::KML_DIRECTORY.rawurlencode($row['kmlFileUrlId']); 277 277 278 278 if($row['displayType']!='MP' and $mode==self::ID_MODE_CATEGORY)
Note: See TracChangeset
for help on using the changeset viewer.