Support for cyrillic URLs
This commit is contained in:
parent
3cb24635a0
commit
c5f112323a
@ -132,6 +132,10 @@ function load_page($tree) {
|
||||
function find_branch($tree) {
|
||||
$path = url_params();
|
||||
foreach($path as $peice) {
|
||||
|
||||
// Support for cyrillic URLs
|
||||
$peice = urldecode($peice);
|
||||
|
||||
// Check for homepage
|
||||
if (empty($peice)) {
|
||||
$peice = 'index';
|
||||
|
Loading…
Reference in New Issue
Block a user