X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=application%2FHttpUtils.php;h=2e0792f97a5d2fdbfdf2b8978e2012300f519e54;hb=b74b96bfbd0b778ac50fd17f5e107c51435b1678;hp=c84ba6f05746d404b195607715556a67ccce8eba;hpb=501939622af1fd99d77c7bd87d88f27cc4139b21;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;