Commit 420ff383 authored by Taylor Otwell's avatar Taylor Otwell

added clarification to base url method.

parent d22f2097
...@@ -5,6 +5,10 @@ class URL { ...@@ -5,6 +5,10 @@ class URL {
/** /**
* Get the base URL of the application. * Get the base URL of the application.
* *
* If the application URL is explicitly defined in the application configuration
* file, that URL will be returned. Otherwise, the URL will be guessed based on
* the host and script name available in the global $_SERVER array.
*
* @return string * @return string
*/ */
public static function base() public static function base()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment