mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 08:43:40 +00:00
Bugfix when _not_ being in a subpath ^^
This commit is contained in:
parent
8fa2821a29
commit
6a622a0d49
2 changed files with 11 additions and 1 deletions
|
@ -59,3 +59,13 @@ http://laktek.com/2008/10/27/really-simple-color-picker-in-jquery/
|
|||
MIT License
|
||||
|
||||
|
||||
|
||||
Author of this plugin (the parts that are not part of the libraries above):
|
||||
Tobias Hößl
|
||||
http://friendica.hoessl.eu/profile/cato
|
||||
http://www.hoessl.eu/
|
||||
tobias@hoessl.eu
|
||||
@TobiasHoessl
|
||||
|
||||
Originally developed for:
|
||||
Animexx e.V. / http://www.animexx.de/
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
$a = get_app();
|
||||
$uri = parse_url($a->get_baseurl());
|
||||
$path = "";
|
||||
$path = "/";
|
||||
if (strlen($uri["path"]) > 1) {
|
||||
$path = $uri["path"] . "/";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue