Merge pull request #89 from kuksikus/master

Support for cyrillic URLs
Cette révision appartient à :
Denis Kisselev 2013-10-03 12:29:28 -07:00
révision 1bfcbaf5c5
1 fichiers modifiés avec 4 ajouts et 0 suppressions

Voir le fichier

@ -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';