Line 260: changed $path_parts[0] to implode('/',$path_parts). Otherwise new routing won't work.