Parcourir la source

Fixed #665 - Windows server domain error

causefx il y a 8 ans
Parent
commit
357c4b226e
2 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 0 0
      bower_components/bootstrap/dist/css/bootstrap.min.css
  2. 1 1
      functions.php

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
bower_components/bootstrap/dist/css/bootstrap.min.css


+ 1 - 1
functions.php

@@ -2833,7 +2833,7 @@ function getServerPath() {
         	$domain = $_SERVER['HTTP_HOST'];
 		}
 	}
-    return $protocol . $domain . dirname($_SERVER['REQUEST_URI']);
+    return $protocol . $domain . str_replace("\\", "/", dirname($_SERVER['REQUEST_URI']));
 }
 
 function get_browser_name() {

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff