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.
37 lines
668 B
37 lines
668 B
<?php
|
|
/**
|
|
|
|
* [Laike System] Copyright (c) 2017-2020 laiketui.com
|
|
|
|
* Laike is not a free software, it under the license terms, visited http://www.laiketui.com/ for more details.
|
|
|
|
*/
|
|
class IndexAction extends Action
|
|
{
|
|
|
|
public function execute ()
|
|
{
|
|
|
|
// we don't need any data here because this action doesn't serve
|
|
// any request methods, so the processing skips directly to the view
|
|
|
|
}
|
|
|
|
public function getDefaultView ()
|
|
{
|
|
|
|
//return View::SUCCESS;
|
|
$this->getContext()->getController()->redirect('index.php?module=Login');
|
|
|
|
}
|
|
|
|
public function getRequestMethods ()
|
|
{
|
|
|
|
return Request::NONE;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|