laravel/laravel — pull request #184 by ccschmitz (2011-11-28 17:47:30+00:00)
Title: Added ability to leave config URL blank

Created a base_url() method that guesses what the application's URL is if none is set in config/application.php.

Always enjoyed this feature from CodeIgniter, so I thought I would port it over to Laravel to allow for a zero configuration setup!