Issue #2881999 by vaplas, Wim Leers, dawehner, Jochus, Berdir, tstoeckler: Path to statistics.php is not correct when the path start with index.php