Ticket #802: SC_Utils.php.patch
File SC_Utils.php.patch, 676 bytes (added by nanasess, 14 years ago) |
---|
-
data/class/util/SC_Utils.php
a b 115 115 } else { 116 116 $proto = "http://"; 117 117 } 118 $host = $proto . $_SERVER['SERVER_NAME'] ;118 $host = $proto . $_SERVER['SERVER_NAME'] . ":" . $_SERVER['SERVER_PORT']; 119 119 if ($path == '/') { 120 120 return $host . $path . $installer; 121 121 } … … 159 159 } 160 160 161 161 $path = join('/', $results); 162 return $parse['scheme'] . '://' . $parse['host'] . '/' . $path;162 return $parse['scheme'] . '://' . $parse['host'] . ":" . $parse['port'] .'/' . $path; 163 163 } 164 164 165 165 // 装飾付きエラーメッセージの表示