projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02f84d2
)
Pass config parameters to hordemap
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Wed, 16 Dec 2009 19:22:28 +0000
(14:22 -0500)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Wed, 16 Dec 2009 19:22:28 +0000
(14:22 -0500)
kronolith/lib/Kronolith.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/Kronolith.php
b/kronolith/lib/Kronolith.php
index
6a12db3
..
28b1fe5
100644
(file)
--- a/
kronolith/lib/Kronolith.php
+++ b/
kronolith/lib/Kronolith.php
@@
-114,8
+114,11
@@
class Kronolith
{
// Add the apikeys
if (!empty($params['providers'])) {
- foreach ($params['providers'] as $layer) {
+ $params['conf'] = array(
+ 'URI_IMG_HORDE' => $GLOBALS['registry']->getImageDir('horde') . '/',
+ 'useMarkerLayer' => true);
+ foreach ($params['providers'] as $layer) {
switch ($layer) {
case 'Google':
$params['apikeys']['google'] = $GLOBALS['conf']['api']['googlemaps'];