Skip to content

Commit 0e8e374

Browse files
committed
Make Map v3 default
1 parent 3e3d344 commit 0e8e374

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

maintain.inc.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,10 @@ function plugin_install()
131131
include_once( PHPWG_ROOT_PATH. 'plugins/piwigo-openstreetmap/osmmap2.php');
132132
else if (isset(\$_GET['v']) and \$_GET['v'] == 3)
133133
include_once( PHPWG_ROOT_PATH. 'plugins/piwigo-openstreetmap/osmmap3.php');
134+
else if (isset(\$_GET['v']) and \$_GET['v'] == 4)
135+
include_once( PHPWG_ROOT_PATH. 'plugins/piwigo-openstreetmap/osmmap4.php');
134136
else
135-
include_once( PHPWG_ROOT_PATH. 'plugins/piwigo-openstreetmap/osmmap2.php');
137+
include_once( PHPWG_ROOT_PATH. 'plugins/piwigo-openstreetmap/osmmap3.php');
136138
?>
137139
EOF;
138140
$fp = fopen( PHPWG_ROOT_PATH.'osmmap.php', 'w' );

0 commit comments

Comments
 (0)