added clarification to base url method.

This commit is contained in:
Taylor Otwell 2011-11-29 22:26:16 -06:00
parent d22f209775
commit 420ff3839a
1 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,10 @@ class URL {
/**
* 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
*/
public static function base()