remove typo in method comment.

This commit is contained in:
Taylor Otwell 2011-11-28 23:15:35 -06:00
parent 2c29e49f42
commit 00b512a876
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ public static function base()
// By removing the basename of the script, we should be left with the path // By removing the basename of the script, we should be left with the path
// in which the framework is installed. For example, if the framework is // in which the framework is installed. For example, if the framework is
// installed to http://localhost/laravel/public, the path we'll get from // installed to http://localhost/laravel/public, the path we'll get from
// from this statement will be "/laravel/public". // this statement will be "/laravel/public".
$path = str_replace(basename($_SERVER['SCRIPT_NAME']), '', $_SERVER['SCRIPT_NAME']); $path = str_replace(basename($_SERVER['SCRIPT_NAME']), '', $_SERVER['SCRIPT_NAME']);
return rtrim($protocol.$_SERVER['HTTP_HOST'].$path, '/'); return rtrim($protocol.$_SERVER['HTTP_HOST'].$path, '/');