diff options
| -rw-r--r-- | it_url.class | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/it_url.class b/it_url.class index 3f9f5e0..2eb124d 100644 --- a/it_url.class +++ b/it_url.class @@ -859,9 +859,9 @@ static function _atomicwrite($path, $data) } /** - * Make an URL absolute by using host and protocol from current Apache request (but not port). Never changes protocol given in url + * Make an URL absolute by using host and protocol (but not port) from current Apache request; http: in script context * @param $url Optional URL ( foo.html, /foo.html, //host/bar.html, https://host/bar.html ), default self - * @param $proto_force Optional protocol to enforce, default protocol of current request or http if in script context + * @param $proto_force Optional protocol to enforce, even if a protocol is given in $url * @return absolute version of URL ( http[s]://host/bar.html ) */ static function absolute($url = null, $proto_force = null, $prefix = '') |