]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
common_path(): use HTTPS if current URL is HTTPS
authorJoshua Judson Rosen <rozzin@geekspace.com>
Sat, 29 Nov 2014 05:30:11 +0000 (00:30 -0500)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 2 Dec 2014 13:47:03 +0000 (14:47 +0100)
commit69fec16de2c9168dc77f2808725c3ca37fa545a1
tree1bd625c38d272bd00cef85c74cba96d47281a288
parentd671b7b289b44e5ddf7f8f386066c6eec86e4986
common_path(): use HTTPS if current URL is HTTPS

Bring common_path() back into harmony with common_local_url(),
which started doing this 2013-03-25.

Shouldn't need to spread "StatusNet::isHTTPS()" logic all over
wherever common_path() is called; just DTRT automatically instead.
lib/util.php