diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-21 09:58:59 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-21 09:58:59 +0000 |
commit | 3bd7d68b41032407ceffbc7222ac33f56b62c04a (patch) | |
tree | 22afec4757933f2538fcd645ce8d1dec4dff5507 /engine/lib | |
parent | 960884d9d267628cede224596d64da1b92e727be (diff) | |
download | elgg-3bd7d68b41032407ceffbc7222ac33f56b62c04a.tar.gz elgg-3bd7d68b41032407ceffbc7222ac33f56b62c04a.tar.bz2 |
Fixes #280
git-svn-id: https://code.elgg.org/elgg/trunk@2032 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/elgglib.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index 990611aff..84918d253 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -32,7 +32,7 @@ if (strpos($current_page, $CONFIG->wwwroot . "action") ===false) $_SESSION['messages'] = system_messages();
- if (substr_count($location, 'http://') == 0) { + if ((substr_count($location, 'http://') == 0) && (substr_count($location, 'https://') == 0)) { $location = $CONFIG->url . $location;
} |