Fix small typo in `Server.php` fixes #336

Cette révision appartient à :
Stéphane Goetz 2016-01-07 22:20:00 +01:00
Parent 02ede2220e
révision 6111ca46fa
1 fichiers modifiés avec 1 ajouts et 1 suppressions

Voir le fichier

@ -73,7 +73,7 @@ class Server
// The path has a special treatment on windows, revert the slashes
$dir = dirname($_SERVER['PHP_SELF']);
$this->base_url = $_SERVER['HTTP_HOST'] . (DIRECTORY_SEPARATOR == "\\"? str_replace($dir, "\\", "/") : $dir);
$this->base_url = $_SERVER['HTTP_HOST'] . (DIRECTORY_SEPARATOR == "\\"? str_replace("\\", "/", $dir) : $dir);
$t = strrpos($this->base_url, '/index.php');
if ($t != false) {