refactoring lang and url classes.

This commit is contained in:
Taylor Otwell
2011-10-20 22:23:32 -05:00
parent 21dccae755
commit 49b13e6960
2 changed files with 9 additions and 9 deletions

View File

@@ -59,7 +59,7 @@ class URL {
{
if (is_null($https)) $https = Request::secure();
return str_replace('index.php/', '', static::to($url, $https));
return str_replace(Config::$items['application']['index'].'/', '', static::to($url, $https));
}
/**