Browse Source

Fixed #665 - Windows server domain error

causefx 8 years ago
parent
commit
357c4b226e
2 changed files with 1 additions and 1 deletions
  1. 0 0
      bower_components/bootstrap/dist/css/bootstrap.min.css
  2. 1 1
      functions.php

File diff suppressed because it is too large
+ 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() {

Some files were not shown because too many files changed in this diff