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