forked from friendica/friendica-addons
Bugfix when _not_ being in a subpath ^^
This commit is contained in:
parent
8fa2821a29
commit
6a622a0d49
|
@ -59,3 +59,13 @@ http://laktek.com/2008/10/27/really-simple-color-picker-in-jquery/
|
||||||
MIT License
|
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();
|
$a = get_app();
|
||||||
$uri = parse_url($a->get_baseurl());
|
$uri = parse_url($a->get_baseurl());
|
||||||
$path = "";
|
$path = "/";
|
||||||
if (strlen($uri["path"]) > 1) {
|
if (strlen($uri["path"]) > 1) {
|
||||||
$path = $uri["path"] . "/";
|
$path = $uri["path"] . "/";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue