Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #11 from Schlumpf/root-dir
Browse files Browse the repository at this point in the history
Root dir
  • Loading branch information
Schlumpf authored Jun 13, 2016
2 parents c17ebb6 + e8c0dd8 commit a078aa6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
OSModul Changelog
-----------------

v2.12
- Fix root dir for asserts

v2.11
- Use https for supporting tile servers

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ OSModul is a simple module to display a map from [OpenStreetmap](https://openstr

## Demo usage
[http://hof-ronig.de](http://hof-ronig.de)
[http://www.sailcom.ch](http://www.sailcom.ch/de/flotte/bootsstandorte)

## Help
For help and more information, take a look to the [Wiki](https://github.com/Schlumpf/osmodul/wiki).
For help and more information, take a look to the [Wiki](https://github.com/Schlumpf/osmodul/wiki).
4 changes: 2 additions & 2 deletions mod_osmod.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

// include skripts/styles to the header
$document = JFactory::getDocument();
$document->addStyleSheet('media/mod_osmod/leaflet/leaflet.css');
$document->addScript('media/mod_osmod/leaflet/leaflet.js');
$document->addStyleSheet(JURI::root(true) . '/media/mod_osmod/leaflet/leaflet.css');
$document->addScript(JURI::root(true) . '/media/mod_osmod/leaflet/leaflet.js');
$document->addStyleDeclaration( ModOsmodHelper::style($params, $module->id) );

// create javascript
Expand Down
4 changes: 2 additions & 2 deletions mod_osmod.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<!-- Metadata -->
<name>OSModul</name>
<author>Martin Kröll</author>
<creationDate>02.05.2016</creationDate>
<creationDate>13.06.2016</creationDate>
<copyright>(c) 2012-2016 Martin Kröll</copyright>
<license>https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://extensions.joomla.org/extensions/owner/schlumpf</authorUrl>
<version>2.11</version>
<version>2.12</version>
<description>MOD_OSMOD_DESCRIPTION</description>

<!-- Update servers -->
Expand Down

0 comments on commit a078aa6

Please sign in to comment.