Changeset 12212 for extensions
- Timestamp:
- Sep 24, 2011, 11:31:32 AM (13 years ago)
- Location:
- extensions/GMaps
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/GMaps/gmaps_pip.class.inc.php
r12204 r12212 156 156 while($row=pwg_db_fetch_assoc($result)) 157 157 { 158 $mapParam['kmlUrl']= $_SERVER['SCRIPT_URI'].PWG_LOCAL_DIR.self::KML_DIRECTORY.$row['file'];158 $mapParam['kmlUrl']=get_absolute_root_url().PWG_LOCAL_DIR.self::KML_DIRECTORY.$row['file']; 159 159 } 160 160 } -
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) -
extensions/GMaps/main.inc.php
r12211 r12212 112 112 | | | the same name 113 113 | | | 114 | | | * mantis bug:2347 115 | | | . kml display is not working if selecting a kml file 116 | | | in Gmaps plugin manager 117 | | | 114 118 | | | 115 119 | | |
Note: See TracChangeset
for help on using the changeset viewer.