protocol independent url
This commit is contained in:
parent
fe535fea8f
commit
5b4fabdaa0
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=45478
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ sub MethGet {
|
||||||
# MyURL
|
# MyURL
|
||||||
# Returns a URL to the script
|
# Returns a URL to the script
|
||||||
sub MyURL {
|
sub MyURL {
|
||||||
return 'http://' . $ENV{'SERVER_NAME'} . $ENV{'SCRIPT_NAME'};
|
return '//' . $ENV{'SERVER_NAME'} . $ENV{'SCRIPT_NAME'};
|
||||||
}
|
}
|
||||||
# CgiError
|
# CgiError
|
||||||
# Prints out an error message which containes appropriate headers,
|
# Prints out an error message which containes appropriate headers,
|
||||||
|
|
Loading…
Reference in a new issue