projects
/
mailer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Introduced detectServerProtocol() to fully support HTTPS and more use of isFullQualif...
[mailer.git]
/
inc
/
install-functions.php
diff --git
a/inc/install-functions.php
b/inc/install-functions.php
index 7c205e24813a08aaeeab28960fff1b17a251122e..a0ac6850a6ff8d6affeb9fab5e7530d341572915 100644
(file)
--- a/
inc/install-functions.php
+++ b/
inc/install-functions.php
@@
-474,7
+474,7
@@
function isInstallerBaseUrlValid ($value) {
($value == getUrl())
|| (
// Starts with http:// or https:// ?
- (
(substr($value, 0, 7) == 'http://') || (substr($value, 0, 8) == 'https://'
))
+ (
isFullQualifiedUrl($value
))
&&
// Has no trailing slash?
(substr($value, -1, 1) != '/')