123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- <?php
- if (!defined('STATUSNET')) {
-
-
- exit(1);
- }
- class TopAction extends Action
- {
-
- function prepare($argarray)
- {
- parent::prepare($argarray);
- return true;
- }
-
- function handle($argarray=null)
- {
- if (common_config('singleuser', 'enabled')) {
- $url = common_local_url('showstream', array('nickname' => User::singleUserNickname()));
- } else {
- $url = common_local_url('public');
- }
-
- common_redirect($url, 301);
- return;
- }
- }
|