summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorbfabiszewski <github@ushuaia.pl>2013-06-21 12:44:57 +0200
committerbfabiszewski <github@ushuaia.pl>2013-06-21 12:44:57 +0200
commit458f1449cb262b73884170b9a0ea6a2b5485cacd (patch)
tree7df43f9144c4ac49eccc0e482e8e01ab7594b187 /index.php
parent8c9a527fdf9a54699a596e0a6579cc95fb9b4314 (diff)
downloadRunnerUpLive-458f1449cb262b73884170b9a0ea6a2b5485cacd.zip
correct Google API key handling
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.php b/index.php
index a2a4d9b..2149b2b 100755
--- a/index.php
+++ b/index.php
@@ -105,6 +105,7 @@ print
var lang_newinterval = "'.$lang_newinterval.'";
var units = "'.$units.'";
var mapapi = "'.$mapapi.'";
+ var gkey = '.(isset($gkey)?'"'.$gkey.'"':'null').';
</script>
<script type="text/javascript" src="main.js"></script>
';