git.p6c8.net
/
devedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Commands are now case-insensitive
[devedit.git]
/
modules
/
Tool.pm
diff --git
a/modules/Tool.pm
b/modules/Tool.pm
index 785a02e787b715c5b0508d1ff743574fdd551794..840c13433085250eca4bf9fdad937486ff9a8633 100644
(file)
--- a/
modules/Tool.pm
+++ b/
modules/Tool.pm
@@
-6,7
+6,7
@@
package Tool;
# Some shared sub routines
#
# Author: Patrick Canterino <patshaping@gmx.net>
# Some shared sub routines
#
# Author: Patrick Canterino <patshaping@gmx.net>
-# Last modified: 2004-07-1
2
+# Last modified: 2004-07-1
7
#
use strict;
#
use strict;
@@
-129,14
+129,14
@@
sub devedit_reload($)
# SSL encrypted HTTP (HTTPS)
$protocol = "https";
# SSL encrypted HTTP (HTTPS)
$protocol = "https";
- $port =
($ENV{'SERVER_PORT'} == 443) ? "" : ":".$ENV{'SERVER_PORT'}
;
+ $port =
":".$ENV{'SERVER_PORT'} if($ENV{'SERVER_PORT'} != 443)
;
}
else
{
# Simple HTTP
$protocol = "http";
}
else
{
# Simple HTTP
$protocol = "http";
- $port =
($ENV{'SERVER_PORT'} == 80) ? "" : ":".$ENV{'SERVER_PORT'}
;
+ $port =
":".$ENV{'SERVER_PORT'} if($ENV{'SERVER_PORT'} != 80)
;
}
# The following code is grabbed from Template::_query of
}
# The following code is grabbed from Template::_query of
patrick-canterino.de