projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dynamap pas obligatoire
[platal.git]
/
htdocs
/
geoloc
/
dynamap.php
diff --git
a/htdocs/geoloc/dynamap.php
b/htdocs/geoloc/dynamap.php
index
1d3ecc5
..
3e4755b
100644
(file)
--- a/
htdocs/geoloc/dynamap.php
+++ b/
htdocs/geoloc/dynamap.php
@@
-38,6
+38,7
@@
if (urlencode(Env::get('initfile')) != $initfile)
header("Content-type: application/x-shockwave-flash");
-readfile("../../plugins/geoloc/dynamap.swf");
+if ($globals->geoloc->use_map())
+ readfile($globals->geoloc->dynamap_path);
?>