mirror of
https://gitlab.com/mojo42/Jirafeau.git
synced 2025-04-21 04:01:51 +02:00
[BUGFIX] fix proposed web root during installation
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
This commit is contained in:
parent
1294029019
commit
48fd211cd2
@ -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']);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user