Bugfix when _not_ being in a subpath ^^

This commit is contained in:
Tobias Hößl 2012-06-04 17:21:54 +00:00
parent 8fa2821a29
commit 6a622a0d49
2 changed files with 11 additions and 1 deletions

View File

@ -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/

View File

@ -2,7 +2,7 @@
$a = get_app();
$uri = parse_url($a->get_baseurl());
$path = "";
$path = "/";
if (strlen($uri["path"]) > 1) {
$path = $uri["path"] . "/";
}