X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/129402901986004b50bf8bb338f681b0a0983800..48fd211cd255ea9ff05d0556eed4b6033683794a:/lib/functions.php diff --git a/lib/functions.php b/lib/functions.php index 95a5595..536bfe1 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -1562,5 +1562,5 @@ function jirafeau_add_ending_slash($path) function jirafeau_default_web_root() { - return $_SERVER['HTTP_HOST'] . str_replace(basename(__FILE__), '', $_SERVER['REQUEST_URI']); + return $_SERVER['HTTP_HOST'] . str_replace('install.php', '', $_SERVER['REQUEST_URI']); }