A single user instance also has the same URLs as multiuser instances

This commit is contained in:
Mikael Nordfeldth 2015-02-04 16:47:43 +01:00
parent 6a4cb43f67
commit f0a707cfc6
1 changed files with 112 additions and 112 deletions

View File

@ -951,7 +951,8 @@ class Router
array('action' => $a),
array('tag' => self::REGEX_TAG));
}
} else {
}
$m->connect('', array('action' => 'startpage'));
$m->connect('main/public', array('action' => 'public'));
$m->connect('main/all', array('action' => 'networkpublic'));
@ -1066,7 +1067,6 @@ class Router
$m->connect(':nickname/rsd.xml',
array('action' => 'rsd'),
array('nickname' => Nickname::DISPLAY_FMT));
}
$m->connect(':nickname',
array('action' => 'showstream'),