X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=application%2FHttpUtils.php;fp=application%2FHttpUtils.php;h=2e0792f97a5d2fdbfdf2b8978e2012300f519e54;hb=765391cb376500a8372aedd426dd4bfbe04ee8ec;hp=c84ba6f05746d404b195607715556a67ccce8eba;hpb=19f53aa18cfa2c78ab798153c31c6e4b23b3c4c9;p=github%2Fshaarli%2FShaarli.git diff --git a/application/HttpUtils.php b/application/HttpUtils.php index c84ba6f0..2e0792f9 100644 --- a/application/HttpUtils.php +++ b/application/HttpUtils.php @@ -193,7 +193,7 @@ function server_url($server) function index_url($server) { $scriptname = $server['SCRIPT_NAME']; - if (endswith($scriptname, 'index.php')) { + if (endsWith($scriptname, 'index.php')) { $scriptname = substr($scriptname, 0, -9); } return server_url($server) . $scriptname;