diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2012-11-29 15:00:11 -0800 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2012-11-29 15:00:11 -0800 |
commit | 1399d45c68e7d14fc1f3e8f2b5451669cce4ffa4 (patch) | |
tree | ab28080501f9dc8e4ffdc29742f45e2acf3fdcbf /pages/share.php | |
parent | 23b7ddabd4c2c6286a9b3ef0791befbc6f4ef89f (diff) | |
download | pathery-1399d45c68e7d14fc1f3e8f2b5451669cce4ffa4.tar.xz |
Lots of fixes and changes.
nofollow on login links.
tutorial fix
changed how $accepted works
changed how $wallColor/Emblem works
fixed a bug when multiple players scored at the same momment.
Diffstat (limited to 'pages/share.php')
-rw-r--r-- | pages/share.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pages/share.php b/pages/share.php index 1193bb6..098c281 100644 --- a/pages/share.php +++ b/pages/share.php @@ -17,11 +17,17 @@ if (is_int($_GET['mapid'] + 0)) $mapID = $_GET['mapid'] + 0;
$mapcode = getMapCode($mapID);
+//New code:
+if ($_GET['mapcode'])
+ $mapcode = $_GET['mapcode'];
+
+
$map = GenerateMapByCode($mapcode);
-echo DisplayMap($map, 1, 'example', 1);
+//echo DisplayMap($map, 1, 'example', 1);
+echo DisplayMap($map, 1);
?>
<script>
|