Bugfix when _not_ being in a subpath ^^

pull/57/head
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 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(); $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"] . "/";
} }