You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
448 B

  1. <?php
  2. namespace App\Controllers;
  3. use Movim\Controller\Base;
  4. class ExploreController extends Base
  5. {
  6. public function load()
  7. {
  8. $this->session_only = true;
  9. }
  10. public function dispatch()
  11. {
  12. if (!empty($this->fetchGet('s') && $this->fetchGet('s') == 'servers')) {
  13. $this->page->setTitle(__('communities.servers'));
  14. } else {
  15. $this->page->setTitle(__('page.explore'));
  16. }
  17. }
  18. }