<?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 *
class GeolocConfig
{
var $webservice_url = '';
+ var $dynamap_path = false;
+ var $icon_path = false;
+
+ function use_map() {
+ static $use_map;
+ if (!isset($use_map))
+ $use_map = $this->dynamap_path != false && is_file($this->dynamap_path) && is_file($this->icon_path);
+ return $use_map;
+ }
}
// }}}