diff options
author | friendica <info@friendica.com> | 2012-03-19 06:48:11 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-03-19 06:48:11 -0700 |
commit | 139a86dbd395f4601b29b9af97ac8ea190cce9f9 (patch) | |
tree | db91bcfa5db7f11bae45f1bc2b622ca540be3eb9 /include/text.php | |
parent | 2349852b4abd1638624b541f173f51d1fb1ea011 (diff) | |
download | volse-hubzilla-139a86dbd395f4601b29b9af97ac8ea190cce9f9.tar.gz volse-hubzilla-139a86dbd395f4601b29b9af97ac8ea190cce9f9.tar.bz2 volse-hubzilla-139a86dbd395f4601b29b9af97ac8ea190cce9f9.zip |
some openid fixes, use identity url from openid server and normalise it.
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/text.php b/include/text.php index a0ff1600e..2956c9467 100644 --- a/include/text.php +++ b/include/text.php @@ -1355,3 +1355,6 @@ function file_tag_unsave_file($uid,$item,$file) { return true; } +function normalise_openid($s) { + return trim(str_replace(array('http://','https://'),array('',''),$s),'/'); +} |