<?php
/***************************************************************************
- * Copyright (C) 2003-2004 Polytechnique.org *
+ * Copyright (C) 2003-2006 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
header("Content-type: application/x-shockwave-flash");
-readfile("../../plugins/geoloc/icon.swf");
+if ($globals->geoloc->use_map())
+ readfile($globals->geoloc->icon_path);
?>