------------------------------------------------------------
revno: 1011
committer: bassel <[email protected]>
branch nick: aikiframework
timestamp: Mon 2012-01-09 14:55:27 +0200
message:
  fixed bug 911987 urls not working with https
modified:
  libs/aiki.php


--
lp:aikiframework
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk

Your team Aiki Framework Developers is subscribed to branch lp:aikiframework.
To unsubscribe from this branch go to 
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk/+edit-subscription
=== modified file 'libs/aiki.php'
--- libs/aiki.php	2012-01-05 18:48:50 +0000
+++ libs/aiki.php	2012-01-09 12:55:27 +0000
@@ -415,6 +415,10 @@
 				$paths[] = $language;
 			}
 
+			if ($_SERVER["HTTPS"] == "on") {
+				$url = str_replace("http://";, "https://";, $url);
+			}
+
 			$bufferReplace = array(
 				'[userid]'	=> $aiki->membership->userid,
 				'[full_name]' => $aiki->membership->full_name,

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to