summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcos <cos>2021-05-01 18:52:26 +0200
committercos <cos>2021-05-01 19:22:27 +0200
commite9f849f120f790c1233d5112bf7a105a11b60b53 (patch)
tree3a4d05735d481017712a9eacb9aafa2307d5e555
parent98bb58cfe505885d773d31c71efc5fc7e6eececb (diff)
downloadRunnerUpLive-e9f849f120f790c1233d5112bf7a105a11b60b53.zip
Changes found while decommissioning gce serverwip/gce_changes
Likely these were needed for running on that Google Cloud Engine instance, but I can't neither remember nor be bothered at looking into it now.
-rwxr-xr-xconfig.php3
-rwxr-xr-xindex.php4
2 files changed, 5 insertions, 2 deletions
diff --git a/config.php b/config.php
index 20ff418..c003d1c 100755
--- a/config.php
+++ b/config.php
@@ -20,7 +20,8 @@
*/
$version = "0.1";
-$mapapi = "gmaps";
+//$mapapi = "gmaps";
+$mapapi = "openlayers";
// you need to obtain and set a google maps api key
// if using the gmaps mapapi.
diff --git a/index.php b/index.php
index d6e21d5..88f5850 100755
--- a/index.php
+++ b/index.php
@@ -1,4 +1,5 @@
<?php
+error_reporting(0);
/* phpTrackme
*
* Copyright(C) 2013 Bartek Fabiszewski (www.fabiszewski.net)
@@ -154,7 +155,8 @@ if ($mapapi == "gmaps") {
}
else {
print
-' <script type="text/javascript" src="http://openlayers.org/api/OpenLayers.js"></script>
+' <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
+ <script type="text/javascript" src="https://openlayers.org/api/OpenLayers.js"></script>
<script type="text/javascript" src="api_openlayers.js"></script>
';
}