Browse Source

added clarification to base url method.

Taylor Otwell 12 years ago
parent
commit
420ff3839a
1 changed files with 4 additions and 0 deletions
  1. 4 0
      laravel/url.php

+ 4 - 0
laravel/url.php

@@ -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()