Improve pretty urls

This commit is contained in:
Jay Trees 2022-03-07 15:19:52 +01:00
parent dcc1269fa9
commit 8ca243d78d

View file

@ -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]) {