Fix code style

This commit is contained in:
Stéphane Goetz
2015-08-16 22:26:00 +02:00
parent a7aff213de
commit d02ac85697
3 changed files with 22 additions and 22 deletions

@ -74,7 +74,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) {