From 420ff3839a88cc17f531da1ef664c52613c6665c Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 29 Nov 2011 22:26:16 -0600 Subject: [PATCH] added clarification to base url method. --- laravel/url.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/laravel/url.php b/laravel/url.php index 11805c97..e497f721 100644 --- a/laravel/url.php +++ b/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()