Explorar o código

added ports to qualifyURL function

causefx %!s(int64=9) %!d(string=hai) anos
pai
achega
b6eedb05e5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      functions.php

+ 1 - 1
functions.php

@@ -818,7 +818,7 @@ function qualifyURL($url) {
 	
 	// http/https
 	if (!isset($digest['scheme'])) {
-		if (isset($digest['port']) && in_array($digest['port'], array(80,8080,8096))) {
+		if (isset($digest['port']) && in_array($digest['port'], array(80,8080,8096,32400,7878,8989,8182,8081,6789))) {
 			$scheme = 'http';
 		} else {
 			$scheme = 'https';