Improve pretty urls
This commit is contained in:
parent
dcc1269fa9
commit
8ca243d78d
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class URL
|
|||
$pretty_url = '';
|
||||
|
||||
foreach ($htaccess as $index => $line) {
|
||||
$parts = explode(chr(32), $line);
|
||||
$parts = explode(chr(32), trim($line));
|
||||
|
||||
if (count($parts) >= 2) {
|
||||
switch ($parts[0]) {
|
||||
|
|
Loading…
Reference in a new issue