diff --git a/application/config/application.php b/application/config/application.php index 8cbf104a..01f07845 100755 --- a/application/config/application.php +++ b/application/config/application.php @@ -54,7 +54,7 @@ return array( | */ - 'profiler' => true, + 'profiler' => false, /* |-------------------------------------------------------------------------- diff --git a/laravel/url.php b/laravel/url.php index cb90d7af..1b635873 100644 --- a/laravel/url.php +++ b/laravel/url.php @@ -61,7 +61,7 @@ class URL { $base = 'http://localhost'; - // If the application URL configuration is set, we will just use that + // If the application's URL configuration is set, we will just use that // instead of trying to guess the URL from the $_SERVER array's host // and script variables as this is more reliable. if (($url = Config::get('application.url')) !== '') @@ -72,7 +72,7 @@ class URL { { $f = Request::foundation(); - $base = $f->getScheme().'://'.$f->getHttpHost().$f->getBaseUrl(); + $base = $f->getScheme().'://'.$f->getHttpHost().$f->getBasePath(); } return static::$base = $base;