diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-03-31 10:09:11 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-03-31 10:09:11 -0400 |
commit | 1fbf9a042e2e7ed1f67dfad9b7fe3b96019bd1a3 (patch) | |
tree | 99f260f6a23970c4137c07133ca377279f2fd6b9 /lib/util.php | |
parent | e149f3d64b5c0a58b299fb607824a1cd515836a4 (diff) |
give the correct root url when SSL enabled
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php index fdcae0aca..98a3ae844 100644 --- a/lib/util.php +++ b/lib/util.php @@ -952,9 +952,9 @@ function common_profile_url($nickname) // Should make up a reasonable root URL -function common_root_url() +function common_root_url($ssl=false) { - return common_path(''); + return common_path('', $ssl); } // returns $bytes bytes of random data as a hexadecimal string |