Commit a1b3ba75 authored by Taylor Otwell's avatar Taylor Otwell

added comment to url class.

parent 466ccdb9
......@@ -64,6 +64,9 @@ class URL {
$url = static::to($url, $https);
// Since assets are not served by Laravel, we do not need to come through
// the front controller. We'll remove the application index specified in
// the application configuration from the generated URL.
if (($index = Config::$items['application']['index']) !== '')
{
$url = str_replace($index.'/', '', $url);
......
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