summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>
';
}