Skip to content
Snippets Groups Projects
Commit 61c5b238 authored by http://druler.com's avatar http://druler.com
Browse files

Revert "Issue #1114164 by idevit, RadioActiv | federico.bebber: Fixed Message:...

Revert "Issue #1114164 by idevit, RadioActiv | federico.bebber: Fixed Message: GMap is unable to save the marker bundle. Markers will not work!."

trying to fix [#1831410] issue

This reverts commit a0d5688c.
parent 0ece2124
No related branches found
No related tags found
No related merge requests found
......@@ -586,7 +586,7 @@ function gmap_regenerate_markers() {
$contents .= "Drupal.gmap.iconpath = " . drupal_json_encode(base_path() . variable_get('gmap_markerfiles', drupal_get_path('module', 'gmap') . '/markers')) . ";\n";
$contents .= "Drupal.gmap.icondata = " . drupal_json_encode(gmap_get_icondata(TRUE)) . ";\n";
$dir = drupal_realpath("public://js/");
$dir = "public://js/";
// Make sure js/ exists in the files folder.
if (file_prepare_directory($dir, FILE_CREATE_DIRECTORY)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment